diff options
author | Peter Göbel <peter.goebel@debd.de> | 2015-10-05 19:09:05 +0300 |
---|---|---|
committer | Peter Göbel <peter.goebel@debd.de> | 2015-10-05 19:09:05 +0300 |
commit | 291e1fa93063a62e7a0f054135dc5bcebcdd0056 (patch) | |
tree | 36ec985e332b9a812b0e9eba7686bb412420f0b5 /app/helpers | |
parent | e2c5d08e7e4482bd13b8e2e4f77db73dc757d6a7 (diff) |
improved code style and layout option naming
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/page_layout_helper.rb | 2 | ||||
-rw-r--r-- | app/helpers/preferences_helper.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/page_layout_helper.rb b/app/helpers/page_layout_helper.rb index 8160253e59a..775cf5a3dd4 100644 --- a/app/helpers/page_layout_helper.rb +++ b/app/helpers/page_layout_helper.rb @@ -26,7 +26,7 @@ module PageLayoutHelper def fluid_layout(enabled = false) if @fluid_layout.nil? - @fluid_layout = (current_user && current_user.layout == "wide") || enabled + @fluid_layout = (current_user && current_user.layout == "fluid") || enabled else @fluid_layout end diff --git a/app/helpers/preferences_helper.rb b/app/helpers/preferences_helper.rb index 8470d733495..4710171ebaa 100644 --- a/app/helpers/preferences_helper.rb +++ b/app/helpers/preferences_helper.rb @@ -2,8 +2,8 @@ module PreferencesHelper def layout_choices [ - ['Small', :small], - ['Wide', :wide] + ['Fixed', :fixed], + ['Fluid', :fluid] ] end |