summaryrefslogtreecommitdiff
path: root/core/app/helpers
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-12-19 12:17:39 -0800
committerjessib <jessib@riseup.net>2013-12-19 12:17:39 -0800
commita5fa80ca1e20591f25f63d1702a9bc134c60b9ba (patch)
treee76489f1846569d9fbda974d82ab91e6c7bbd871 /core/app/helpers
parentb0a00e16df0792b4ee95ed1ac015f0e23ca3793a (diff)
Put download link on user page.
Diffstat (limited to 'core/app/helpers')
-rw-r--r--core/app/helpers/core_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/app/helpers/core_helper.rb b/core/app/helpers/core_helper.rb
index 4126906..a6c7479 100644
--- a/core/app/helpers/core_helper.rb
+++ b/core/app/helpers/core_helper.rb
@@ -6,8 +6,8 @@ module CoreHelper
#
# insert common buttons (download, login, etc)
#
- def home_page_buttons
- render 'common/home_page_buttons'
+ def home_page_buttons(on_user_page = false)
+ render 'common/home_page_buttons', {:on_user_page => on_user_page}
end
end