Sha256: 26620cf5dba3969e974d02d695af68bbf6e7e4e765c800c9f2a7396c4a2d7663
Contents?: true
Size: 707 Bytes
Versions: 14
Compression:
Stored size: 707 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" end
Version data entries
14 entries across 14 versions & 1 rubygems