From 981ea7d69f88462164eef17deb2374bf0eb0366d Mon Sep 17 00:00:00 2001 From: "konstantin.grabar" Date: Tue, 20 Mar 2012 17:01:18 +0400 Subject: [PATCH] [refs #200] Remove debug code from build_lists controller --- app/controllers/build_lists_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/build_lists_controller.rb b/app/controllers/build_lists_controller.rb index b97da2b29..2ae18691c 100644 --- a/app/controllers/build_lists_controller.rb +++ b/app/controllers/build_lists_controller.rb @@ -46,7 +46,7 @@ class BuildListsController < ApplicationController @build_list.bpl = bpl; @build_list.arch = arch; @build_list.user = current_user @build_list.include_repos = @build_list.include_repos.select { |ir| @build_list.bpl.repository_ids.include? ir.to_i } flash_options = {:project_version => @build_list.project_version, :arch => arch.name, :bpl => bpl.name, :pl => @build_list.pl} - if @build_list.save! + if @build_list.save notices << t("flash.build_list.saved", flash_options) else errors << t("flash.build_list.save_error", flash_options)