class ApplicationController < ActionController::Base
before_action :set_paper_trail_whodunnit
def render_not_found
render "errors/not_found", status: :not_found
end
def render_not_found_json(class_name, id)
render json: { error: "#{class_name} #{id} not found" }, status: :not_found
protected
def user_for_paper_trail
current_user
def byte_order_mark
"\uFEFF"