This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# copy and paste these methods over the ones that are defined in route_translator-4.0.0/lib/route_translator/translator.rb | |
def self.translations_for(app, conditions, requirements, defaults, route_name, anchor, route_set, &block) | |
add_untranslated_helpers_to_controllers_and_views(route_name, route_set.named_routes) | |
available_locales.each do |locale| | |
new_conditions = conditions.dup | |
# LOOK HERE!!!!!!!!!!! | |
# this begin block is the only change i made to this method |