-
Notifications
You must be signed in to change notification settings - Fork 71
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
ログインユーザーでない場合、ホーム画面のヘッダーから検索フォームを隠す #142
Conversation
9b89ca4
to
12f70f9
Compare
12f70f9
to
840425a
Compare
ログインしてるかどうかというのはヘルパーがあったはず。 |
.global-nav-links.is-contents-links | ||
ul.global-nav-links__items | ||
- if current_user | ||
- if current_user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@komagata こちらの行でユーザーのログイン状態を判定出来ているつもりでいました。current_user
ではない処理を何か記述した方が良い、ということであっていますか?
ログインしてるかどうかというのはヘルパーがあったはず。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
はい。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@komagata app/helpers/
以下のファイルや、ビューヘルパーというものに関することかと思い調べてみたのですが分かりませんでした。もし宜しければ、どこで定義されているのか、どこを見れば良いのかなどアドバイス頂きたいです。
@hattori6789 sorceryのREADMEをみてみてください。 |
@komagata 確認します。ありがとうございます! |
20f1999
to
6939136
Compare
0c27f98
to
21e0489
Compare
21e0489
to
d53caa1
Compare
@komagataレビューお願いします! |
@hattori6789 LGTM |
connected to #141