LoginSignup
0
0

deviseを導入し、ログアウトするためのpath

Posted at

image.png
1:rails routesコマンドを実行し、ログアウトのpathを確認し、viewのlink_toの中にdestroy_user_session_pathと記述する。
image.png
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0