application_controller.rb 249 B

123456789
  1. class ApplicationController < ActionController::Base
  2. protect_from_forgery with: :exception
  3. def default_url_options(options={})
  4. logger.debug "default_url_options is passed options: #{options.inspect}\n"
  5. { locale: I18n.locale }
  6. end
  7. end