Sha256: 3694a8d9c29d9e40b38db3f42f4c94cdc92c42b97c048ef691cdbe467ea2dc7f

Contents?: true

Size: 499 Bytes

Versions: 5

Compression:

Stored size: 499 Bytes

Contents

Lolita.setup do |config|
  # ==> User and authentication configuration
  # Add one or more of your user classes to Lolita
  # config.user_classes << MyUser
  # config.authentication = :authenticate_user!
  
  # Define authentication for Lolita controllers.
  # Call some of your own methods
  # config.authentication=:is_admin?
  # Or use some customized logic
  # config.authentication={
  #  current_user.is_a?(Admin) || current_user.has_role?(:admin)
  # }
  config.i18n.store = {:db => 11}
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lolita-i18n-0.3.2 spec/rails_app/config/initializers/lolita_i18n.rb
lolita-i18n-0.3.1 spec/rails_app/config/initializers/lolita_i18n.rb
lolita-i18n-0.3.0 spec/rails_app/config/initializers/lolita_i18n.rb
lolita-i18n-0.1.18 spec/rails_app/config/initializers/lolita_i18n.rb
lolita-i18n-0.2.0 spec/rails_app/config/initializers/lolita_i18n.rb