diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-17 18:20:04 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-17 18:20:04 +0200 |
commit | 70240f433cd822a8d6f3a5d904c3447b8f19a34a (patch) | |
tree | 5bcd156870e243b342c0742e6f3d6b8f72c798de /app/helpers/preferences_helper.rb | |
parent | c5280434399ee489eebda254b2d246252df68f2b (diff) | |
parent | 5ad3a274b3404286bb32b695c8f2b7bdd21e4953 (diff) | |
download | gitlab-ce-70240f433cd822a8d6f3a5d904c3447b8f19a34a.tar.gz |
Merge branch 'master' into cristianbica/gitlab-ce-user-project-view-files
Diffstat (limited to 'app/helpers/preferences_helper.rb')
-rw-r--r-- | app/helpers/preferences_helper.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/preferences_helper.rb b/app/helpers/preferences_helper.rb index f888c4a829b..5a49ab8195c 100644 --- a/app/helpers/preferences_helper.rb +++ b/app/helpers/preferences_helper.rb @@ -1,5 +1,12 @@ # Helper methods for per-User preferences module PreferencesHelper + def layout_choices + [ + ['Fixed', :fixed], + ['Fluid', :fluid] + ] + end + # Maps `dashboard` values to more user-friendly option text DASHBOARD_CHOICES = { projects: 'Your Projects (default)', |