Add users controller
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
.container.mt-5
|
||||
- if authenticated?
|
||||
.float-end
|
||||
= button_to "Log out", session_path, method: :delete
|
||||
.float-end.ms-3
|
||||
= button_to "Log out", session_path, method: :delete
|
||||
.float-end.mt-1
|
||||
= link_to "Settings", user_path(@user)
|
||||
|
||||
h1 Welcome!
|
||||
|
||||
|
Reference in New Issue
Block a user