Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
8fb5e8b2
Commit
8fb5e8b2
authored
May 02, 2011
by
Gregor Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introducing help controller, moving wiki syntax documentation to help controller
parent
8686a16e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
2 deletions
+18
-2
help_controller.rb
app/controllers/help_controller.rb
+9
-0
wiki_syntax.html.erb
app/views/help/wiki_syntax.html.erb
+1
-2
wiki_syntax_detailed.html.erb
app/views/help/wiki_syntax_detailed.html.erb
+0
-0
help_controller_test.rb
test/functional/help_controller_test.rb
+8
-0
No files found.
app/controllers/help_controller.rb
0 → 100644
View file @
8fb5e8b2
class
HelpController
<
ApplicationController
def
wiki_syntax
render
:layout
=>
false
end
def
wiki_syntax_detailed
render
:layout
=>
false
end
end
public/help/wiki_syntax.html
→
app/views/help/wiki_syntax.html.erb
View file @
8fb5e8b2
...
@@ -13,7 +13,6 @@ table td code { font-size: 1.2em; }
...
@@ -13,7 +13,6 @@ table td code { font-size: 1.2em; }
table
td
h1
{
font-size
:
1.8em
;
text-align
:
left
;
}
table
td
h1
{
font-size
:
1.8em
;
text-align
:
left
;
}
table
td
h2
{
font-size
:
1.4em
;
text-align
:
left
;
}
table
td
h2
{
font-size
:
1.4em
;
text-align
:
left
;
}
table
td
h3
{
font-size
:
1.2em
;
text-align
:
left
;
}
table
td
h3
{
font-size
:
1.2em
;
text-align
:
left
;
}
</style>
</style>
</head>
</head>
<body>
<body>
...
@@ -60,7 +59,7 @@ table td h3 { font-size: 1.2em; text-align: left; }
...
@@ -60,7 +59,7 @@ table td h3 { font-size: 1.2em; text-align: left; }
<tr><th></th><td>
!
<em>
attached_image
</em>
!
</td><td></td></tr>
<tr><th></th><td>
!
<em>
attached_image
</em>
!
</td><td></td></tr>
</table>
</table>
<p><a
href=
"wiki_syntax_detailed
.html"
onclick=
"window.open('wiki_syntax_detailed.html
', '', ''); return false;"
>
More Information
</a></p>
<p><a
href=
"wiki_syntax_detailed
"
onclick=
"window.open('wiki_syntax_detailed
', '', ''); return false;"
>
More Information
</a></p>
</body>
</body>
</html>
</html>
public/help/wiki_syntax_detailed.html
→
app/views/help/wiki_syntax_detailed.html.erb
View file @
8fb5e8b2
File moved
test/functional/help_controller_test.rb
0 → 100644
View file @
8fb5e8b2
require
'test_helper'
class
HelpControllerTest
<
ActionController
::
TestCase
# Replace this with your real tests.
test
"the truth"
do
assert
true
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment