diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-08-31 18:25:28 -0700 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-08-31 18:28:54 -0700 |
commit | 6dc252e4066d4e9100954f51e357bdaaffba6e64 (patch) | |
tree | b3620c9a11aaf22f0205a7cc214827cea0eb45ab /app/views/layouts/group_settings.html.haml | |
parent | a1cd338c6c31fbfde155adb4620f5314b45ca0ce (diff) | |
download | gitlab-ce-6dc252e4066d4e9100954f51e357bdaaffba6e64.tar.gz |
Fix incorrect `page_title`, `nav`, and `header_title` usage in views
During https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19766,
several usages of these helper methods were mistakenly changed to
instead assign to a (completely unused) local variable.
When `page_title` was misused, for example, this resulted in the page no
longer having a custom title set.
Diffstat (limited to 'app/views/layouts/group_settings.html.haml')
-rw-r--r-- | app/views/layouts/group_settings.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/group_settings.html.haml b/app/views/layouts/group_settings.html.haml index 14c5f0ce04c..9db78ec58e4 100644 --- a/app/views/layouts/group_settings.html.haml +++ b/app/views/layouts/group_settings.html.haml @@ -1,4 +1,4 @@ -- page_title = _("Settings") -- nav "group" +- page_title _("Settings") +- nav "group" = render template: "layouts/group" |