Deleted dead code from routes and application_controller.rb, removed unused _search partial