1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
Commit graph

9 commits

Author SHA1 Message Date
Ben Atkins
2827d0aad4 Condensing code in the 'included' method on the Controller module. 2012-11-16 12:16:28 -05:00
Pikender Sharma
4bb7306ccf Controller metadata methods (user_for_paper_trail and info_for_paper_trail) should be evaluated when paper trail is enabled for controller 2012-11-06 13:34:14 +05:30
Andy Stewart
3b99221015 Fix bug where PaperTrail was disabled in controller by default. 2011-04-06 14:30:40 +01:00
Andy Stewart
bb79fab9e9 Rename enable/disable methods to clarify intention. 2011-04-05 09:08:54 +01:00
Andy Stewart
cf318c284e Whitespace. 2011-04-04 17:44:41 +01:00
Jonas Höglund
ff818e3acc Added the possibility to disable/enable PaperTrail from a controller 2011-03-18 09:50:34 +01:00
Andy Stewart
36a4b9b323 Convert to Rails 3 idioms. 2011-02-08 17:16:35 +00:00
Andy Stewart
3036aa75b5 Store controller info. Allow other current_user methods.
PaperTrail can now store any information from the controller or request.
It's also easy to choose a method other than `current_user` for
PaperTrail to call to find out who was responsible for changes.
2010-03-19 18:53:49 +00:00
Andy Stewart
e68c2f965f Refactor to separate concerns (model, controller). 2010-03-19 17:21:16 +00:00