issues
search
ryohakjae114
/
miniblog
1
stars
1
forks
source link
ログインページとアカウント作成ページ以外にアクセスした際、ログインしていないとログイン画面に飛ばす
#28
Closed
ryohakjae114
closed
3 months ago
ryohakjae114
commented
3 months ago
26 をmainにマージして新しくブランチを切る
ブランチ名はauthenticate
パスワード変更機能を削除する
userのdeviseの定義から:recoverableを削除する
passwords/newとpasswords/editのviewファイルを削除する
ログインページとアカウント作成ページ以外にアクセスした際、ログインしていないとログイン画面に飛ばす
application_controller.rbでbefore_actionを指定する
before_action: authenticate_user!
26 をmainにマージして新しくブランチを切る
before_action: authenticate_user!