# File app/controllers/translation_controller.rb, line 70 def delete redirect_to :action => 'list' return true unless request.post? # Delete all the translations for this base string - otherwise, # they will all reappear as soon as stat_by_lang is next invoked Translation.find(:all, :conditions => ['base = ?', @trans.base]).each { |tr| tr.destroy} flash[:notice] << _('Translation successfully removed') end