diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/users_controller.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 6436e4e..c14f67c 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -15,9 +15,13 @@ class UsersController < ApplicationController end def show - @user = User.find(param[:id]) + @user = User.find(params[:id]) end + def index + @users = User.all + end + private def user_params |