diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-03 21:53:55 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-03 21:53:55 +0200 |
commit | 0145e8ea210b2c0e1fac204126bf460063d1e17f (patch) | |
tree | fea8ea51fff7c1b8ba64d9f91a4760face03280e /app/views/explore | |
parent | b008273883ac4c73652e73b418ffece2848fe40b (diff) | |
download | gitlab-ce-0145e8ea210b2c0e1fac204126bf460063d1e17f.tar.gz |
Set page title based on content in dashboard area
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/explore')
-rw-r--r-- | app/views/explore/groups/index.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/explore/groups/index.html.haml b/app/views/explore/groups/index.html.haml index 86410db2b2d..e8a6752de8c 100644 --- a/app/views/explore/groups/index.html.haml +++ b/app/views/explore/groups/index.html.haml @@ -1,4 +1,5 @@ - page_title "Groups" +- header_title "Groups", (current_user ? dashboard_groups_path : explore_groups_path) - if current_user = render 'dashboard/groups_head' .gray-content-block.clearfix |