Sha256: 9119a293cfbac46b5edc89e69a48e5e2b8c06f5d0f5ec242acb729a9461fd5e0

Contents?: true

Size: 320 Bytes

Versions: 13

Compression:

Stored size: 320 Bytes

Contents

Approval.configure do |config|
  # User Class Name (e.g: User, AdminUser, Member)
  config.user_class_name = "User"

  # Maximum characters of comment for reason (default: 2000)
  config.comment_maximum = 2000

  # Permit to respond to own request? (default: false)
  config.permit_to_respond_to_own_request = false
end

Version data entries

13 entries across 12 versions & 1 rubygems

Version Path
approval-0.7.1 lib/generators/approval/templates/initializer.rb.tt
approval-0.7.0 lib/generators/approval/templates/initializer.rb.tt
approval-0.6.1 lib/generators/approval/templates/initializer.rb.tt
approval-0.6.0 lib/generators/approval/templates/initializer.rb.tt
approval-0.5.0 lib/generators/approval/templates/initializer.rb.tt
approval-0.4.0 lib/generators/approval/templates/initializer.rb.tt
approval-0.3.7 lib/generators/approval/templates/initializer.rb.tt
approval-0.3.6 lib/generators/approval/templates/initializer.rb.tt
approval-0.3.5 lib/generators/approval/templates/initializer.rb
approval-0.3.4 lib/generators/approval/templates/initializer.rb
approval-0.3.3 lib/generators/approval/templates/initializer.rb
approval-0.3.2 lib/generators/approval/templates/initializer.rb
approval-0.3.2 spec/rails/rails-5.1.2/config/initializers/approval.rb