Sha256: 911c5ae1ed2abbfcc0d02810e6e6189d77942a0ea28769ba76f4d900516aafb7

Contents?: true

Size: 852 Bytes

Versions: 13

Compression:

Stored size: 852 Bytes

Contents

Lolita.setup do |config|
  #= More info about setup - https://github.com/ithouse/lolita/wiki/Lolita-setup
  #= More info about authentication - https://github.com/ithouse/lolita/wiki/Authorization-and-authentication
<% if defined?(Devise) && Devise.respond_to?(:mappings) && default_user_class = Devise.mappings.keys.first %>
  config.user_classes << <%= default_user_class.to_s.camelize %>
  config.authentication=:authenticate_<%= default_user_class %>!
<% else %>
  #= Sample config for Admin user managing Lolita
  # config.user_classes << Admin
  # config.authentication = :authenticate_admin!
<% end %>
  ## add this if you manage your authorization with CanCan
  # config.authorization = "CanCan"
  
  ## TinyMCE configuration - more see https://github.com/spohlenz/tinymce-rails#instructions
  # config.tinymce_configuration_set = :default
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
lolita-4.0.11 lib/generators/templates/lolita.rb
lolita-4.2.0 lib/generators/templates/lolita.rb
lolita-4.0.10 lib/generators/templates/lolita.rb
lolita-4.0.9 lib/generators/templates/lolita.rb
lolita-4.0.8 lib/generators/templates/lolita.rb
lolita-4.0.7 lib/generators/templates/lolita.rb
lolita-4.0.6 lib/generators/templates/lolita.rb
lolita-4.0.5 lib/generators/templates/lolita.rb
lolita-4.0.4 lib/generators/templates/lolita.rb
lolita-4.0.3 lib/generators/templates/lolita.rb
lolita-4.0.2 lib/generators/templates/lolita.rb
lolita-4.0.1 lib/generators/templates/lolita.rb
lolita-4.0.0 lib/generators/templates/lolita.rb