Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/gitlab/page_layout_helper.rb')
-rw-r--r--app/helpers/gitlab/page_layout_helper.rb9
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