Skip to content

Commit 63a0524

Browse files
committed
Renamed networks/navigation to networks/network_navigation to avoid name collision with the top-level navigation partial
1 parent 468e088 commit 63a0524

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

app/views/networks/index.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
%li=link_to 'Protips', by_tags_protips_path
2222

2323
.inside-main-content.cf
24-
= render partial: 'navigation', locals: {network: nil}
24+
= render partial: 'network_navigation', locals: {network: nil}
2525
%ul.networks-filter.cf
2626
%li
2727
%a{href: networks_path, class: networks_sub_nav_class('') + networks_sub_nav_class('a_z')}

app/views/networks/show.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Hyphenator.run()
1616

1717
.inside-main-content.cf
18-
= render :partial => 'navigation', :locals => {:network => @network}
18+
= render :partial => 'network_navigation', :locals => {:network => @network}
1919
%aside.protips-sidebar
2020
%ul.protip-actions
2121
%li

0 commit comments

Comments
 (0)