diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-30 12:10:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-30 12:10:11 +0300 |
commit | 418c3b29009dcc0a2c6b4872557d0274ba0b8077 (patch) | |
tree | 427b01c0b7942fd458b4f363f2d897912ec9e290 /app/helpers/application_helper.rb | |
parent | 3c02fe83263991811e94e8126be8f065afe15372 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 68b8a2e23f2..665184f268c 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -357,6 +357,12 @@ module ApplicationHelper } end + def add_page_specific_style(path) + content_for :page_specific_styles do + stylesheet_link_tag_defer path + end + end + def page_startup_api_calls @api_startup_calls end |