Sha256: 640081ee31b86415bc0533883bc84f36d8ef6c4d5d3877714ed99b363cd3cc60

Contents?: true

Size: 436 Bytes

Versions: 40

Compression:

Stored size: 436 Bytes

Contents

Typus.setup do |config|

  # Define authentication: +:none+, +:http_basic+, +:session+
  config.authentication = :session

  # Define master_role.
  # config.master_role = "admin"

  # Define relationship.
  # config.relationship = "typus_users"

  # Define user_class_name.
  config.user_class_name = "<%= options[:user_class_name] %>"

  # Define user_foreign_key.
  config.user_foreign_key = "<%= options[:user_foreign_key] %>"

end

Version data entries

40 entries across 40 versions & 3 rubygems

Version Path
brainsome_typus-4.0.0.beta13 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta12 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta11 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta10 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta9 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta8 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta7 lib/generators/templates/config/initializers/typus_authentication.rb
typus-rails4-4.0.0.beta6 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta6 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta5 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta4 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta3 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta2 lib/generators/templates/config/initializers/typus_authentication.rb
brainsome_typus-4.0.0.beta1 lib/generators/templates/config/initializers/typus_authentication.rb
typus-3.1.10 lib/generators/templates/config/initializers/typus_authentication.rb
typus-3.1.9 lib/generators/templates/config/initializers/typus_authentication.rb
typus-3.1.8 lib/generators/templates/config/initializers/typus_authentication.rb
typus-3.1.7 lib/generators/templates/config/initializers/typus_authentication.rb
typus-3.1.6 lib/generators/templates/config/initializers/typus_authentication.rb
typus-3.1.5 lib/generators/templates/config/initializers/typus_authentication.rb