James Byrne wrote:
I am getting the following error when trying to link to an auto-generated route:
---> NoMethodError in Entities#index
Showing entities/index.html.erb where line #36 raised:
undefined method `edit_entity_client' for #<ActionView::Base:0x49ea3c8>
...
But I nonetheless get the error above. My question is why is the method edit_entity_client missing? What am I doing wrong?
I am leaving off the trailing _path/_url suffix, that is what. The correct method call is edit_entity_client_path(entity)