diff options
author | elijah <elijah@riseup.net> | 2013-05-07 22:51:06 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-05-07 22:51:06 -0700 |
commit | f6867632204e47e4eb2a0fc1a8855f58df931321 (patch) | |
tree | 855184b1319f5564709ebadc445ce33e79289545 /app/helpers | |
parent | 1f8202387b86fd483a2cf4a1f3006c945da95779 (diff) |
fix page paths of summary pages
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/navigation_helper.rb | 2 |
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 |