diff options
author | Azul <azul@leap.se> | 2014-04-24 11:10:01 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-24 11:10:01 +0200 |
commit | 1da12752c3b3aa3d4a03e67ede133e807e9434df (patch) | |
tree | a91cf9b6cb71f758dc4a4aa955a8f08352aae38a /app/helpers | |
parent | dad200e2cb0b03995eb06024d3fcf788ad2486ff (diff) |
cleanup homepage buttons some
let's devide the partials rather than having super specific parameters (on_user_page)
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/core_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/core_helper.rb b/app/helpers/core_helper.rb index a6c7479..4126906 100644 --- a/app/helpers/core_helper.rb +++ b/app/helpers/core_helper.rb @@ -6,8 +6,8 @@ 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} + def home_page_buttons + render 'common/home_page_buttons' end end |