From f6867632204e47e4eb2a0fc1a8855f58df931321 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 7 May 2013 22:51:06 -0700 Subject: fix page paths of summary pages --- app/helpers/navigation_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers') diff --git a/app/helpers/navigation_helper.rb b/app/helpers/navigation_helper.rb index 30faa78..48b57e4 100644 --- a/app/helpers/navigation_helper.rb +++ b/app/helpers/navigation_helper.rb @@ -50,7 +50,7 @@ module NavigationHelper menu.children.each do |submenu| child_page = page.child(submenu.name) haml :h3 do - haml :a, child_page.nav_title, :href => child_page.path.join('/') + haml :a, child_page.nav_title, :href => page_path(child_page) end haml :p, child_page.props.summary end -- cgit v1.2.3