lib/generators/approval/templates/initializer.rb in approval-0.2.2 vs lib/generators/approval/templates/initializer.rb in approval-0.2.3
- old
+ new
@@ -1,4 +1,10 @@
Approval.configure do |config|
+ # Your user model name (e.g. User, AdminUser, Member, default: User)
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