Sha256: 0aa73ed96e2918d4f9c56ee05a17dcd6e38973504ecff6be8918a05f5bc7ba50
Contents?: true
Size: 336 Bytes
Versions: 20
Compression:
Stored size: 336 Bytes
Contents
# encoding: utf-8 class MagicLocales::BaseController < ApplicationController # => layout proc { |controller| controller.request.xhr? ? false : "application" } before_action :authenticate_visitor, except: [:change_locale] private # overwrite for authentication def authenticate_visitor true end end
Version data entries
20 entries across 20 versions & 1 rubygems