def infer_routes(options)
      if options.any?
        if options[:only]
          if options[:only].is_a?(Symbol)
            routes = [options[:only]]
          elsif options[:only].is_a?(Array)
            routes = options[:only]
          end
        elsif options[:except]
          if options[:except].is_a?(Symbol)
            routes = default_routes - [options[:except]]
          elsif options[:except].is_a?(Array)
            routes = default_routes - options[:except]
          end
        end
      else
        routes = default_routes
      end

      routes
    end
def infer_routes(options)
      if options.any?
        if options[:only]
          if options[:only].is_a?(Symbol)
            routes = [options[:only]]
          elsif options[:only].is_a?(Array)
            routes = options[:only]
          end
        elsif options[:except]
          if options[:except].is_a?(Symbol)
            routes = default_routes - [options[:except]]
          elsif options[:except].is_a?(Array)
            routes = default_routes - options[:except]
          end
        end
      else
        routes = default_routes
      end

      routes
    end
Find out which routes should be generated
 inside resources method. These can be :create,
 :update, and :destroy, and are the ones that
 need to be overridden to use GET requests
 instead of PATCH, POST and DELETE