summaryrefslogtreecommitdiff
path: root/app/helpers/page_layout_helper.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-06 00:12:24 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-06 00:12:24 +0000
commitf48ded4221ac830ff354693740cf919052359e00 (patch)
tree9da7807e75043104cab4892e405fd990f25a1542 /app/helpers/page_layout_helper.rb
parentccfa4b271b5a24d350b3389dc1f43b25177d03ed (diff)
downloadgitlab-ce-f48ded4221ac830ff354693740cf919052359e00.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/page_layout_helper.rb')
-rw-r--r--app/helpers/page_layout_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/page_layout_helper.rb b/app/helpers/page_layout_helper.rb
index 0c057a29bec..c0665463706 100644
--- a/app/helpers/page_layout_helper.rb
+++ b/app/helpers/page_layout_helper.rb
@@ -150,6 +150,10 @@ module PageLayoutHelper
css_class.join(' ')
end
+ def full_content_class
+ "#{container_class} #{@content_class}" # rubocop:disable Rails/HelperInstanceVariable
+ end
+
def page_itemtype(itemtype = nil)
if itemtype
@page_itemtype = { itemscope: true, itemtype: itemtype }