diff options
| author | hukl <contact@smyck.org> | 2009-07-19 13:12:07 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-07-19 13:12:07 +0200 |
| commit | d2a71aa1ed9a417c7e2f0d12bffcca17c80649f1 (patch) | |
| tree | 777b8bd599d9e33012cf282e7f60f6d81b19fab6 | |
| parent | 03e985f546634b9bfc3053e965477d555c6663a8 (diff) | |
need link_to_path here because the locale won't be added with the default link helper
| -rw-r--r-- | app/views/content/_main_navigation.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/content/_main_navigation.html.erb b/app/views/content/_main_navigation.html.erb index 3160fd4..f43e201 100644 --- a/app/views/content/_main_navigation.html.erb +++ b/app/views/content/_main_navigation.html.erb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | <div id="main_navigation"> | 1 | <div id="main_navigation"> |
| 2 | <ul> | 2 | <ul> |
| 3 | <% nodes.each do |node| %> | 3 | <% nodes.each do |node| %> |
| 4 | <li><%= link_to node.head.try(:title), node.unique_name %></li> | 4 | <li><%= link_to_path node.head.try(:title), node.unique_name %></li> |
| 5 | <% end %> | 5 | <% end %> |
| 6 | </ul> | 6 | </ul> |
| 7 | </div> \ No newline at end of file | 7 | </div> \ No newline at end of file |
