diff --git a/app/controllers/personal_projects_controller.rb b/app/controllers/personal_projects_controller.rb index 7457a67..843dbd4 100644 --- a/app/controllers/personal_projects_controller.rb +++ b/app/controllers/personal_projects_controller.rb @@ -25,7 +25,7 @@ class PersonalProjectsController < ApplicationController when "project_type" projects_show = projects_temp.select {|value| search_all_words(value.send("project_type").title.to_s, params[:keywords])} when "project_title","default" - projects_show = projects_temp.select {|value| search_all_words(value.send("project_title").to_s), params[:keywords])} + projects_show = projects_temp.select {|value| search_all_words(value.send("project_title").to_s, params[:keywords])} when "period" projects_show = projects_temp.select {|value| search_all_words(value.send("duration").to_s, params[:keywords])} else