Source: show
# File app/controllers/v2/pending_plans_controller.rb, line 3 def destroy if pending_plan pending_plan.destroy head :ok else render_error("There was no pending plan", :gone) end end