mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Condensing code in the 'included' method on the Controller module.
This commit is contained in:
parent
50f94af6b8
commit
2827d0aad4
1 changed files with 2 additions and 3 deletions
|
@ -3,8 +3,7 @@ module PaperTrail
|
|||
|
||||
def self.included(base)
|
||||
base.before_filter :set_paper_trail_enabled_for_controller
|
||||
base.before_filter :set_paper_trail_whodunnit
|
||||
base.before_filter :set_paper_trail_controller_info
|
||||
base.before_filter :set_paper_trail_whodunnit, :set_paper_trail_controller_info
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Reference in a new issue