I have been googling for about 90 minutes now and still don\'t have an answer to this. Where do I set default_url_options? I\'ve already set it for conf
default_url_options
conf
You can set default url options in the Application Controller:
class ApplicationController < ActionController::Base def default_url_options {:locale => I18n.locale} end end
http://guides.rubyonrails.org/action_controller_overview.html#default_url_options