Permalink
Browse files

typo in translations_for

  • Loading branch information...
1 parent 3a481d8 commit d32abad1db287a510c288b5e8b616b568f70b06a @narbo narbo committed with May 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rails-translate-routes.rb
@@ -261,7 +261,7 @@ def add_untranslated_helpers_to_controllers_and_views old_name
def translations_for route
translated_routes = []
available_locales.map do |locale|
- translated_routes << translate_route route, locale
+ translated_routes << translate_route(route, locale)
end
# add untranslated_route without url helper if we want to keep untranslated routes

0 comments on commit d32abad

Please sign in to comment.