links to different users are no more all routing to current_user

This commit is contained in:
Aaro Koivukangas
2023-08-11 16:21:49 +03:00
parent 737992c27b
commit 8802652778
-1
View File
@@ -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