Sha256: 793f148f29e348ccf23e02bdc592aa52901ee9d50e8ad186acf6ab967d27fdc0

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

# Use this hook to configure Chive.
# Be sure to restart your server when you modify this file.
#
Chive.setup do |config|
  # The model for the user.
  # config.user_model = 'User'

  # The user model's primary key.
  # config.user_pk_attr = 'id'

  # The user name attribute in the user model.
  # config.user_name_attr = 'name'

  # If the main app uses Devise, set this attribute to `true` for quick and
  # easy user authentication. The `Chive.user_model` attribute should use the
  # same model as Devise.
  # config.use_devise = false
  <% if options[:devise] %>config.use_devise = true
<% end %>
  # The layout to use for public pages
  # config.public_layout = 'chive/application'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chive-0.1.1 templates/chive.rb.tt