# File app/controllers/attendance_adm_controller.rb, line 175 def delete_certif_format_line begin raise NotForUs unless request.post? line = CertifFormatLine.find(params[:line_id]) raise NotForUs unless line.certif_format = @format line.destroy rescue NotForUs, ActiveRecord::RecordNotFound, NoMethodError end redirect_to :action => 'certif_format', :format_id => @format end