Module: ActiveAdminAssociations::RedirectDestroyActions

Defined in:
lib/active_admin_associations/redirect_destroy_actions.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



3
4
5
# File 'lib/active_admin_associations/redirect_destroy_actions.rb', line 3

def destroy
  destroy!{ request.headers["Referer"].presence || admin_dashboard_url }
end