Generated controller uses the search_layout method for determining layout