class MagicLocales::BaseController

Protected Instance Methods

default_url_options( options = {} ) click to toggle source
# File lib/app/controllers/magic_locales/base_controller.rb, line 11
def default_url_options( options = {} )
  { locale: I18n.locale, only_path: true }
end

Private Instance Methods

authenticate_visitor() click to toggle source

overwrite for authentication

# File lib/app/controllers/magic_locales/base_controller.rb, line 18
def authenticate_visitor
  true
end