diff options
Diffstat (limited to 'app/helpers/application_helper.rb')
| -rw-r--r-- | app/helpers/application_helper.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index cf6486306..29951da87 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -4,5 +4,12 @@ module ApplicationHelper @referential.present? and not @referential.new_record? end + def help_page? + controller_name == "help" + end + + def help_path + url_for(:controller => "help", :action => "show") + '/' + end end |
