tamafull / devise_token_auth_trial

0 stars 0 forks source link

deviseのhelperメソッドについて #33

Closed tamafull closed 2 years ago

tamafull commented 2 years ago

関連issue

13

14

tamafull commented 2 years ago

https://github.com/tamafull/devise_token_auth_trial/commit/72c0eb8b040afc8687f65608898ba08ea093ecf6 とりあえずRevert

tamafull commented 2 years ago

気合い入れてdeviseのコードを読み解いても特に問題はなさそう それも当然で原因は単に凡ミスでdeviseのhelperメソッドを使っていたこと 本来devise_token_authのhelperを使うべきだった

https://github.com/lynndylanhurley/devise_token_auth/blob/6d7780ee0b9750687e7e2871b9a1c6368f2085a9/lib/devise_token_auth/controllers/helpers.rb#L31