Sha256: 13c3a790550ff20391978b4e5b7ef52d5f11b25c2fd0d1765614277a9ad28434
Contents?: true
Size: 299 Bytes
Versions: 7
Compression:
Stored size: 299 Bytes
Contents
class A::BackendController < ApplicationController before_filter :authenticate_a_user! check_authorization load_and_authorize_resource def current_ability @current_ability ||= Ability.new(current_user) end def current_user return current_a_user end helper_method :current_user end
Version data entries
7 entries across 7 versions & 1 rubygems