diff options
author | Phil Hughes <me@iamphill.com> | 2017-07-12 11:16:32 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-12 11:16:32 +0300 |
commit | 13cc761a09a88138294300cdcc26a6db28f3d67d (patch) | |
tree | 74863ef18cb1bd39f09306190294619c5ec301b7 /app/views/groups | |
parent | 9fcc28d42850eb7aa891b701721f803ebb0a3d55 (diff) |
moved `@breadcrumb_title` out of the HAML & into a helper method
Diffstat (limited to 'app/views/groups')
-rw-r--r-- | app/views/groups/new.html.haml | 1 | ||||
-rw-r--r-- | app/views/groups/show.html.haml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/groups/new.html.haml b/app/views/groups/new.html.haml index 10eb8ce6cc7..e9daac95ca1 100644 --- a/app/views/groups/new.html.haml +++ b/app/views/groups/new.html.haml @@ -1,4 +1,5 @@ - @breadcrumb_link = dashboard_groups_path +- breadcrumb_title "Groups" - @hide_top_links = true - page_title 'New Group' - header_title "Groups", dashboard_groups_path diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml index fcdd0a84990..e07f61c94e4 100644 --- a/app/views/groups/show.html.haml +++ b/app/views/groups/show.html.haml @@ -1,5 +1,5 @@ - @no_container = true -- @breadcrumb_title = "Group" +- breadcrumb_title "Group" = content_for :meta_tags do = auto_discovery_link_tag(:atom, group_url(@group, rss_url_options), title: "#{@group.name} activity") |