projects
/
leap_website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f82023
)
fix page paths of summary pages
author
elijah
<elijah@riseup.net>
Wed, 8 May 2013 05:51:06 +0000
(22:51 -0700)
committer
elijah
<elijah@riseup.net>
Wed, 8 May 2013 05:51:06 +0000
(22:51 -0700)
app/helpers/navigation_helper.rb
patch
|
blob
|
history
diff --git
a/app/helpers/navigation_helper.rb
b/app/helpers/navigation_helper.rb
index
30faa78
..
48b57e4
100644
(file)
--- 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