config/effective_logging.rb in effective_logging-1.6.0 vs config/effective_logging.rb in effective_logging-1.7.0
- old
+ new
@@ -27,10 +27,17 @@
config.use_active_admin = true
# Admin Screens Layout Settings
config.layout = 'application' # All EffectiveLogging controllers will use this layout
+ # config.layout = {
+ # logs: 'application',
+ # trash: 'application',
+ # admin_logs: 'admin',
+ # admin_trash: 'admin'
+ # }
+
# All statuses defined here, as well as 'info', 'success', and 'error' (hardcoded) will be created as
# EffectiveLogger.info('my message') macros
config.additional_statuses = []
#########################################
@@ -41,6 +48,9 @@
config.emails_enabled = true
# Log all successful user login attempts
config.user_logins_enabled = true
config.user_logouts_enabled = false
+
+ # Enable the /trash, /admin/trash and /trash/:id/restore routes. Doesn't affect acts_as_trashable itself.
+ config.trash_enabled = true
end