Deleted the search.html.erb file,now the search is also rendered by index.html.erb