Add before_action to search controller