1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
paper-trail-gem--paper_trail/lib/paper_trail/config.rb
Andy Stewart 4f4f814500 Global enable/disable for PaperTrail.
Thanks to these commits from jeremyw:

* 9254147
* 3748fd3..66463e6
2010-03-19 15:21:07 +00:00

11 lines
194 B
Ruby

module PaperTrail
class Config
include Singleton
attr_accessor :enabled
def initialize
# Indicates whether PaperTrail is on or off.
@enabled = true
end
end
end