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

AbstractController::ActionNotFound: The action 'sign_in' could not be found #19

Open
vergil-zhao opened this issue Apr 11, 2023 · 1 comment

Comments

@vergil-zhao
Copy link

After defining a customized controller for TokensController like the below:

And setting the route to the new controller:

Then it cannot find the sign_in method:

But other routes work fine (users/tokens/info, users/tokens/revoke, etc.).

Could you help with that?

@borisMD24
Copy link

borisMD24 commented Nov 14, 2023

well, your token controller extends Devise::Api::TokensController

i did it that way :
def sign_in super() end

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

2 participants