Haven't needed to use the rails 'url helpers' before, but I am trying to implement something like Rails: URL/path with parameters. I did not create any 'resources', but I was under the impression I could prepend the url_helper name in the routes like:
user_index_path GET 'users/index', to: 'users#index'
but this gives the error:
undefined method 'GET' for #<ActionDispatch::Routing::Mapper:0x00000007ABCDEF> Did you mean? gets gem
Since I haven't used them much, I'm also confused by the statement I read here, https://blog.arkency.com/all-the-ways-to-generate-routing-paths-in-rails/, saying "Of course instead of _path sometimes you are going to need _url". Am I defining them wrong? Yes, I read https://guides.rubyonrails.org/routing.html, and saw the bit about '3.16 Direct routes', but this doesn't jive with the examples I've 'seen'.