diff options
author | Azul <azul@leap.se> | 2014-04-08 09:12:37 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-08 09:12:37 +0200 |
commit | 53808b073f539ba2b442738b6abf97228488e311 (patch) | |
tree | 67e344defee90e4d0c5f91f6136f6619e97c4ace /app/helpers/core_helper.rb | |
parent | cb6442c344d6bdaf52c3878b2de2fcf4d85f2648 (diff) |
moving all of core into toplevel, tests fail.
Diffstat (limited to 'app/helpers/core_helper.rb')
-rw-r--r-- | app/helpers/core_helper.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/helpers/core_helper.rb b/app/helpers/core_helper.rb new file mode 100644 index 0000000..a6c7479 --- /dev/null +++ b/app/helpers/core_helper.rb @@ -0,0 +1,13 @@ +# +# Misc. helpers needed throughout. +# +module CoreHelper + + # + # insert common buttons (download, login, etc) + # + def home_page_buttons(on_user_page = false) + render 'common/home_page_buttons', {:on_user_page => on_user_page} + end + +end |