summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-05-07 22:51:06 -0700
committerelijah <elijah@riseup.net>2013-05-07 22:51:06 -0700
commitf6867632204e47e4eb2a0fc1a8855f58df931321 (patch)
tree855184b1319f5564709ebadc445ce33e79289545 /app
parent1f8202387b86fd483a2cf4a1f3006c945da95779 (diff)
fix page paths of summary pages
Diffstat (limited to 'app')
-rw-r--r--app/helpers/navigation_helper.rb2
1 files changed, 1 insertions, 1 deletions
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