Commit 8fb5e8b2 authored by Gregor Schmidt's avatar Gregor Schmidt

Introducing help controller, moving wiki syntax documentation to help controller

parent 8686a16e
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; } ...@@ -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>
require 'test_helper'
class HelpControllerTest < ActionController::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment