lib/trust/controller.rb
def load_resource
        if resource.new_action?
          authorization.preload
          authorization.instance_loaded resource.load # need to set instance on authorizing object
        else
          resource.load
        end
      end
# Loads the resource which basically means loading the instance and eventual parent defined through +belongs_to+
#
# This method is triggered as a callback on +before_filter+
# See {Trust::Controller::Resource} for more information
Loads the resource which basically means loading the instance and eventual parent defined through +belongs_to+
This method is triggered as a callback on +before_filter+
See {Trust::Controller::Resource} for more information
Loads the resource which basically means loading the instance and eventual parent defined through + belongs_to + This method is triggered as a callback on + before_filter + See { Trust :: Controller :: Resource } for more information
def load_resource
        if resource.new_action?
          authorization.preload
          authorization.instance_loaded resource.load 
        else
          resource.load
        end
      end
def load_resource if resource . new_action? authorization . preload authorization . instance_loaded resource . load else resource . load end end
Loads the resource which basically means loading the instance and eventual parent defined through +belongs_to+
This method is triggered as a callback on +before_filter+
See {Trust::Controller::Resource} for more information
Loads the resource which basically means loading the instance and eventual parent defined through + belongs_to + This method is triggered as a callback on + before_filter + See { Trust :: Controller :: Resource } for more information
# need to set instance on authorizing object