Module: Programmable::ResourceController::SingletonActions

Extended by:
AddCommonActions
Includes:
ServiceMethods
Defined in:
lib/rc_actions/actions.rb

Instance Method Summary collapse

Instance Method Details

#after_destroy_urlObject



32
33
34
35
36
37
38
# File 'lib/rc_actions/actions.rb', line 32

def after_destroy_url
  if enclosing_resource
    enclosing_resource_path
  else
    root_path
  end
end