In my routes.rb I have:
get \"projects/:category_id\" => \"projects#index\"
When I write projects_path(1) the generated URL
projects_path(1)
projects_path is the index, which only takes one argument: the format. You want project_path(1)
projects_path
project_path(1)