[issue #428] Fixed typos. Removed unnecessary parts.

This commit is contained in:
George Vinogradov 2012-06-05 19:55:50 +04:00
parent e7c0eab736
commit 863213767b
2 changed files with 1 additions and 6 deletions

View File

@ -74,7 +74,6 @@ class Projects::BuildListsController < Projects::BaseController
end
def update
# raise params.inspect
if params[:publish].present? and can?(:publish, @build_list)
publish
elsif params[:reject_publish].present? and can?(:reject_publish, @build_list)
@ -193,7 +192,7 @@ class Projects::BuildListsController < Projects::BaseController
end
a.platforms << @build_list.save_to_platform unless a.platforms.include? @build_list.save_to_platform
@build_list.advisory = a
if !a.save
unless a.save
redirect_to :back, :notice => t('layout.build_lists.publish_fail') and return
end
end

View File

@ -13,7 +13,3 @@
.rightlist
= f.text_area :references, :class => 'text_field', :cols => 80
.both
:javascript
$(function() {
});