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