Sha256: 38f069da52d520efd95b9e0077c53a3be9fede1173bdd18701f151276ebd5e68
Contents?: true
Size: 300 Bytes
Versions: 5
Compression:
Stored size: 300 Bytes
Contents
class ApplicationController < ActionController::Base protect_from_forgery def rescue_action(e) raise e end # Returns id of hypothetical current user def current_user 153 end def info_for_paper_trail {:ip => request.remote_ip, :user_agent => request.user_agent} end end
Version data entries
5 entries across 5 versions & 1 rubygems