Introducing help controller, moving wiki syntax documentation to help controller
This commit is contained in:
parent
8686a16e0d
commit
8fb5e8b211
|
@ -0,0 +1,9 @@
|
||||||
|
class HelpController < ApplicationController
|
||||||
|
def wiki_syntax
|
||||||
|
render :layout => false
|
||||||
|
end
|
||||||
|
|
||||||
|
def wiki_syntax_detailed
|
||||||
|
render :layout => false
|
||||||
|
end
|
||||||
|
end
|
|
@ -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; }
|
||||||
<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>
|
|
@ -0,0 +1,8 @@
|
||||||
|
require 'test_helper'
|
||||||
|
|
||||||
|
class HelpControllerTest < ActionController::TestCase
|
||||||
|
# Replace this with your real tests.
|
||||||
|
test "the truth" do
|
||||||
|
assert true
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue