[issue #428] Fixed typos. Removed unnecessary parts.
This commit is contained in:
parent
e7c0eab736
commit
863213767b
|
@ -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
|
||||
|
|
|
@ -13,7 +13,3 @@
|
|||
.rightlist
|
||||
= f.text_area :references, :class => 'text_field', :cols => 80
|
||||
.both
|
||||
|
||||
:javascript
|
||||
$(function() {
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue