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