diff options
Diffstat (limited to 'app/controllers/help_controller.rb')
| -rw-r--r-- | app/controllers/help_controller.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb new file mode 100644 index 000000000..92f96ebd7 --- /dev/null +++ b/app/controllers/help_controller.rb @@ -0,0 +1,13 @@ +class HelpController < ApplicationController + + def show + @page = HelpPage.find(slug) + end + + private + + def slug + params[:slug] or "index" + end + +end |
