def infer_resource_routes(routes)
      resource_routes = []

      resource_routes << :index if routes.include?(:index)
      resource_routes << :show if routes.include?(:show)

      resource_routes
    end
def infer_resource_routes(routes)
      resource_routes = []

      resource_routes << :index if routes.include?(:index)
      resource_routes << :show if routes.include?(:show)

      resource_routes
    end
Find out if the resources method should create
 :index and :show routes. These two do not need
 to be overridden since they use GET requests
 by default