Module: Signoff::Controller
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/signoff/controller.rb
Overview
Optional controller mix-in that populates Signoff::Current from the request so transitions are attributed automatically:
class ApplicationController < ActionController::Base
include Signoff::Controller
end
It relies on a current_user helper if one is available and respects the track_ip_addresses / store_user_agent configuration flags.