diff options
Diffstat (limited to 'app/helpers/gitlab/page_layout_helper.rb')
-rw-r--r-- | app/helpers/gitlab/page_layout_helper.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/helpers/gitlab/page_layout_helper.rb b/app/helpers/gitlab/page_layout_helper.rb index d7a85186155..c89b2c2ba2c 100644 --- a/app/helpers/gitlab/page_layout_helper.rb +++ b/app/helpers/gitlab/page_layout_helper.rb @@ -24,5 +24,14 @@ module Gitlab @sidebar end end + + def fluid_layout(enabled = false) + if @fluid_layout.nil? + @fluid_layout = enabled + else + @fluid_layout + end + end end + end |