Sha256: aaeab965a106eea4809ef50455746c3579d11e4294bd0410ef628f93202d7ecc

Contents?: true

Size: 418 Bytes

Versions: 7

Compression:

Stored size: 418 Bytes

Contents

# TheRole.config.param_name => value

TheRole.configure do |config|
  # config.layout                     = :application

  # config.default_user_role          = nil
  # config.first_user_should_be_admin = false
  # config.access_denied_method       = :access_denied
  # config.login_required_method      = :authenticate_user!
  # config.destroy_strategy           = :restrict_with_exception # can be nil
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
the_role-2.5.4 lib/generators/the_role/templates/the_role.rb
the_role-2.5.3 lib/generators/the_role/templates/the_role.rb
the_role-2.5.2 lib/generators/the_role/templates/the_role.rb
the_role-2.5.1 lib/generators/the_role/templates/the_role.rb
the_role-2.5 lib/generators/the_role/templates/the_role.rb
the_role-2.4 lib/generators/the_role/templates/the_role.rb
the_role-2.3 lib/generators/the_role/templates/the_role.rb