Commit 4f6ecc0
committed
Don't render link when user login is nil
When user login is nil, Rails renders the URL as link text instead.
To avoid this, the link is only rendered when user.login is present.1 parent 4c5faf7 commit 4f6ecc0
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments