Class: PhrasingPhraseVersionsController

Inherits:
Object
  • Object
show all
Defined in:
app/controllers/phrasing_phrase_versions_controller.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



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