Module PaperTrail::Sinatra
In: lib/paper_trail/frameworks/sinatra.rb

Methods

Public Class methods

Register this module inside your Sinatra application to gain access to controller-level methods used by PaperTrail.

Protected Instance methods

Returns the user who is responsible for any changes that occur. By default this calls `current_user` and returns the result.

Override this method in your controller to call a different method, e.g. `current_person`, or anything you like.

[Validate]