gitlab-org--gitlab-foss/app/views/layouts/explore.html.haml
Robert Speicher 6dc252e406
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.
2018-08-31 18:28:54 -07:00

5 lines
146 B
Text

- page_title _("Explore")
- unless current_user
- header_title _("Explore GitLab"), explore_root_path
= render template: "layouts/application"