[refs #200] Remove debug code from build_lists controller
This commit is contained in:
parent
31e0c9191c
commit
981ea7d69f
|
@ -46,7 +46,7 @@ class BuildListsController < ApplicationController
|
||||||
@build_list.bpl = bpl; @build_list.arch = arch; @build_list.user = current_user
|
@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 }
|
@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}
|
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)
|
notices << t("flash.build_list.saved", flash_options)
|
||||||
else
|
else
|
||||||
errors << t("flash.build_list.save_error", flash_options)
|
errors << t("flash.build_list.save_error", flash_options)
|
||||||
|
|
Loading…
Reference in New Issue