diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-06 00:12:24 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-06 00:12:24 +0000 |
commit | f48ded4221ac830ff354693740cf919052359e00 (patch) | |
tree | 9da7807e75043104cab4892e405fd990f25a1542 /app/helpers/page_layout_helper.rb | |
parent | ccfa4b271b5a24d350b3389dc1f43b25177d03ed (diff) | |
download | gitlab-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.rb | 4 |
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 } |