Sha256: 6a392e2dc8dc44265a8e219101ec15712224c099630c4e2ec8b647891a72a238
Contents?: true
Size: 589 Bytes
Versions: 6
Compression:
Stored size: 589 Bytes
Contents
# TheRole.config.param_name => value TheRole.configure do |config| # [ Devise => :authenticate_user! | Sorcery => :require_login ] # config.login_required_method = :authenticate_user! # layout for Management panel # config.layout = :the_role_management_panel # config.default_user_role = nil # config.first_user_should_be_admin = false # config.access_denied_method = :access_denied # Dependent of Rails::VERSION # # [ :destroy, :delete_all, :nullify, :restrict, :restrict_with_exception, :restrict_with_error ] # config.destroy_strategy = nil end
Version data entries
6 entries across 6 versions & 1 rubygems