Edited README.md via GitHub

This commit is contained in:
jhoglund 2011-03-18 09:13:04 -07:00
parent 9a1bcff68b
commit c84a94e667
1 changed files with 4 additions and 4 deletions

View File

@ -2,11 +2,11 @@
Added the possibility to disable/enable PaperTrail from a controller.
class ApplicationController
def paper_trail_enabled_if
request.user_agent != 'Disable User-Agent'
class ApplicationController
def paper_trail_enabled_if
request.user_agent != 'Disable User-Agent'
end
end
end
# PaperTrail