diff --git a/app/controllers/mpa/pept2data_controller.rb b/app/controllers/mpa/pept2data_controller.rb index e1712fd..a281cf6 100644 --- a/app/controllers/mpa/pept2data_controller.rb +++ b/app/controllers/mpa/pept2data_controller.rb @@ -3,7 +3,7 @@ class Mpa::Pept2dataController < Mpa::MpaController def pept2data peptides = params[:peptides] || [] - missed = params[:missed].nil? ? false || params[:missed] + missed = params[:missed].nil? ? false : params[:missed] equate_il = params[:equate_il].nil? ? true : params[:equate_il] @response = Hash.new