Module: Programmable::ResourceController::SingletonActions

Includes:
CommonActions
Defined in:
lib/rc_actions/actions.rb

Instance Method Summary collapse

Methods included from CommonActions

#create, #destroy, #edit, #new, #show, #update

Instance Method Details

#after_destroy_url ⇒ Object



24
25
26
27
28
29
30
# File 'lib/rc_actions/actions.rb', line 24

def after_destroy_url
  if enclosing_resource
    enclosing_resource_path
  else
    root_path
  end
end