Sha256: 4417f33281a663c77ee77292c51e8d111c0cec2dccc131cdb4ac34ef7a630ff8
Contents?: true
Size: 405 Bytes
Versions: 2
Compression:
Stored size: 405 Bytes
Contents
require 'application_responder' class User::UserApplicationController < ActionController::Base # layout 'user/application' layout 'application' before_filter :set_audit_user before_action :authenticate_user! self.responder = ApplicationResponder respond_to :html, :json private def set_audit_user # Set audit current user Audited.current_user_method = :current_user end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cybele-1.9.1 | templates/app/controllers/user/user_application_controller.rb |
cybele-1.9.0 | templates/app/controllers/user/user_application_controller.rb |