Add #get_current_resource to AbstractControllerPlugin