Method: Pageflow::StorylinesController#destroy
- Defined in:
- app/controllers/pageflow/storylines_controller.rb
#destroy ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
52 53 54 55 56 57 58 59 60 61 |
# File 'app/controllers/pageflow/storylines_controller.rb', line 52 def destroy storyline = Storyline.find(params[:id]) (:destroy, storyline) verify_edit_lock!(storyline.entry) storyline.destroy respond_with(storyline) end |