We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
controllerにbefore_action :required_loginと書いているが、ほとんどのページがログイン必須なので、デフォルトをログイン必須にして、ログインがいらないページにだけskip_before_actionした方が漏れが少ない。 影響ページが多いのでテストをたくさん書く必要がありそう。
before_action :required_login
The text was updated successfully, but these errors were encountered:
本番で、プラクティス一覧画面(ログインが必要なページ)でトップページにリダイレクトされて「ログインしてください」のメッセージが出ること、お問い合わせ(ログインが不要なページ)にはログインなしでアクセスできることを確認しました。クローズします。
Sorry, something went wrong.
peno022
No branches or pull requests
controllerに
before_action :required_login
と書いているが、ほとんどのページがログイン必須なので、デフォルトをログイン必須にして、ログインがいらないページにだけskip_before_actionした方が漏れが少ない。影響ページが多いのでテストをたくさん書く必要がありそう。
The text was updated successfully, but these errors were encountered: