Open
Description
I have the following resource:
this.resources('users', { only: ['index', 'edit', 'update', 'destroy'] });
So, I don't have page to view user information (users#show
), but I do have page to edit it (users#edit
) and action to update if (users#update
).
The problem is that in this case the route helper userPath
is not generated and I can't set action
attribute of the user's edit form:
<form id="editUser" method="put" action="{{ userPath(user) }}">...</form>
Metadata
Metadata
Assignees
Labels
No labels