Browse Source

disable paper-trail in production

pull/1/head
Nicolae Claudius 10 years ago
parent
commit
cd89635592
  1. 5
      config/environments/production.rb

5
config/environments/production.rb

@ -83,4 +83,9 @@ Entrydns::Application.configure do
# Compress JavaScripts and CSS
config.assets.js_compressor = :uglifier
# disable paper-trail in production
config.after_initialize do
PaperTrail.enabled = false
end
end

Loading…
Cancel
Save