Class: PhrasingPhraseVersionsController
- Inherits:
-
Object
- Object
- PhrasingPhraseVersionsController
- Defined in:
- app/controllers/phrasing_phrase_versions_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
3 4 5 6 7 |
# File 'app/controllers/phrasing_phrase_versions_controller.rb', line 3 def destroy phrase_version = PhrasingPhraseVersion.find(params[:id]) phrase_version.destroy redirect_to edit_phrasing_phrase_path(phrase_version.phrasing_phrase.id) end |