Skip to content

Commit f3d44d8

Browse files
committed
Adding Sign up link on header when user is not logged in
1 parent 7f3f73f commit f3d44d8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/views/shared/menu/_user.html.haml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
- root.add current_user.username, user_path(current_user)
44
- root.add "Log Out", logout_path
55
- else
6-
- root.add "Log In", login_path
6+
- root.add "Log In", login_path
7+
- root.add "Sign Up", new_user_registration_path

0 commit comments

Comments
 (0)