Method: CopycatTranslationsController#destroy
- Defined in:
- app/controllers/copycat_translations_controller.rb
#destroy ⇒ Object
57 58 59 60 61 62 |
# File 'app/controllers/copycat_translations_controller.rb', line 57 def destroy @copycat_translation = CopycatTranslation.find(params[:id]) notice = "#{@copycat_translation.key} deleted!" @copycat_translation.destroy redirect_to copycat_translations_path, :notice => notice end |