Navigation Menu

Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
siuying committed Feb 11, 2011
1 parent 3536ee0 commit 6fe2f3e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/multilingual_page.rb
Expand Up @@ -25,8 +25,6 @@ def url(language=nil)
def child_url(child, language=nil)
if language.nil?
super(child)
elsif !parent?
clean_url(url + '/' + child.slug(language))
else
clean_url(url(language) + '/' + child.slug(language))
end
Expand Down

0 comments on commit 6fe2f3e

Please sign in to comment.