summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-10-20 00:04:39 +0200
committerhukl <contact@smyck.org>2009-10-20 00:04:39 +0200
commitd631a3e65dc8aa0d388e1d1b328e382d4643e36e (patch)
tree61fc8d2482730214a9a4ab9413363f5f9ae12b75
parent53d5b59744f43a94756190631a46fd58779b5fb9 (diff)
link helper fix
-rw-r--r--app/helpers/link_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/link_helper.rb b/app/helpers/link_helper.rb
index b77a1df..1b20e6d 100644
--- a/app/helpers/link_helper.rb
+++ b/app/helpers/link_helper.rb
@@ -29,7 +29,7 @@ module LinkHelper
29 :controller => :content, 29 :controller => :content,
30 :action => :render_page, 30 :action => :render_page,
31 :locale => params[:locale], 31 :locale => params[:locale],
32 :page_path => path.sub(/^\//, "").split("/") 32 :page_path => (path.sub(/^\//, "").split("/") rescue "")
33 }, 33 },
34 html_options 34 html_options
35 ) 35 )