Sha256: 5298aa6d33f2790af40e44a3f0584dfc31899847c0fb37cd0ad0d8559c909f69
Contents?: true
Size: 310 Bytes
Versions: 37
Compression:
Stored size: 310 Bytes
Contents
module Phcmemberspro class ApplicationController < ActionController::Base # Callup Current Account def current_account @current_account ||= env['Houser-Object'] end helper_method :current_account # Define Scoped_to def scoped_to(account) where(:account_id => account.id) end end end
Version data entries
37 entries across 37 versions & 1 rubygems