Sha256: 6fae10911038f74ac9a8f2709503b83ad8b40f08c8d18e8d1705519ac9a0485a

Contents?: true

Size: 419 Bytes

Versions: 8

Compression:

Stored size: 419 Bytes

Contents

Typus.setup do |config|

  # Authentication: none, http_basic, session
  config.authentication = :session

  # Define the default root.
  # config.master_role = "admin"

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

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

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

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
typus-1.0.0.pre8 lib/generators/templates/config/initializers/typus_authentication.rb
typus-1.0.0.pre7 lib/generators/templates/config/initializers/typus_authentication.rb
typus-1.0.0.pre6 lib/generators/templates/config/initializers/typus_authentication.rb
typus-1.0.0.pre5 lib/generators/templates/config/initializers/typus_authentication.rb
typus-1.0.0.pre4 lib/generators/templates/config/initializers/typus_authentication.rb
typus-1.0.0.pre3 lib/generators/templates/config/initializers/typus_authentication.rb
typus-1.0.0.pre2 lib/generators/templates/config/initializers/typus_authentication.rb
typus-1.0.0.pre lib/generators/templates/config/initializers/typus_authentication.rb