Sha256: dc108147c96335031c180e491715a372846e0d83e8295cca22a81fa559962b12
Contents?: true
Size: 540 Bytes
Versions: 5
Compression:
Stored size: 540 Bytes
Contents
require "i18nline/engine" require 'i18nline/railtie' if defined?(Rails) require 'kaminari' module I18nline ## CONFIGURATION OPTIONS: mattr_accessor :current_user_method @@current_user_method = "current_user" mattr_accessor :can_translate_method @@can_translate_method = "can_translate?" mattr_accessor :login_route @@login_route = "/login" mattr_accessor :enabled_locales @@enabled_locales = %w(en es it) def self.setup yield self end private mattr_accessor :current_user @@current_user ||= nil end
Version data entries
5 entries across 5 versions & 2 rubygems