Sha256: 96d3e97053831d87cf228f12df8d573cd2b7dc3d534b06836bf41bc03847205f

Contents?: true

Size: 390 Bytes

Versions: 3

Compression:

Stored size: 390 Bytes

Contents

# By default, assuming your user model is named Account, you wont have
# to do anything to this file. All config methods here show their default
# value.

# AuthN.config.unauthenticated_redirect_to_method = :root_path
<% if model_class_name == "Account" %>
# AuthN.config.account_klass = "<%= model_class_name %>"
<% else %>
AuthN.config.account_klass = "<%= model_class_name %>"
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
authn-rails-1.8.0 lib/generators/authn/templates/initializer.rb.tt
authn-rails-1.7.3 lib/generators/authn/templates/initializer.rb
authn-rails-1.7.2 lib/generators/authn/templates/initializer.rb