config/effective_logging.rb in effective_logging-1.11.5 vs config/effective_logging.rb in effective_logging-2.0.0
- old
+ new
@@ -21,22 +21,20 @@
#
# Or disable the check completely:
# config.authorization_method = false
config.authorization_method = Proc.new { |controller, action, resource| authorize!(action, resource) } # CanCanCan
- # Register Effective::Logs with ActiveAdmin if ActiveAdmin is present
- config.use_active_admin = true
-
# Admin Screens Layout Settings
config.layout = 'application' # All EffectiveLogging controllers will use this layout
# config.layout = {
# logs: 'application',
# admin_logs: 'admin',
# }
- # All statuses defined here, as well as 'info', 'success', and 'error' (hardcoded) will be created as
# EffectiveLogger.info('my message') macros
+ # The following statuses are already present: info, success, error, view, change, email, sign_in, sign_out
+ # Add more here
config.additional_statuses = []
#########################################
#### Automatic Logging Functionality ####
#########################################