Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The action 'edit' could not be found for DeviseTokenAuth::RegistrationsController #896

Closed
trepidity opened this issue May 29, 2017 · 2 comments

Comments

@trepidity
Copy link

Rails 5.1.1 fresh app.
Installed devise_token_auth with the following command
rails g devise_token_auth:install User auth

I have a route for this even
edit_user_registration GET /auth/edit(.:format) devise_token_auth/registrations#edit

Yet, when I try calling the route, the controller throws an error.

devise (4.3.0)
devise_token_auth (0.1.42)
INFO -- :  Started GET "/auth/edit" for 162.158.69.84 at 2017-05-29 03:12:01 +0000
FATAL -- : AbstractController::ActionNotFound (The action 'edit' could not be found for DeviseTokenAuth::RegistrationsController):
@nicholasshirley
Copy link

There's no edit action on the registrations controller. I don't know enough about the gem to say why, but there are other routes that aren't defined in controllers.

@zachfeldman
Copy link
Contributor

I suppose we could add an edit action, I don't see why not. @trepidity or @nicholasshirley feel free to reopen this if you'd like to work on it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants