summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers')
-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