mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
links to different users are no more all routing to current_user
This commit is contained in:
@@ -8,7 +8,6 @@ class UsersController < ApplicationController
|
|||||||
|
|
||||||
# GET /users/1 or /users/1.json
|
# GET /users/1 or /users/1.json
|
||||||
def show
|
def show
|
||||||
@user = User.find current_user.id
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# GET /users/new
|
# GET /users/new
|
||||||
|
|||||||
Reference in New Issue
Block a user