1
0
Fork 0
find-us-lunch/app/controllers/users_controller.rb

16 lines
202 B
Ruby
Raw Normal View History

2014-10-15 16:40:46 -04:00
class UsersController < ApplicationController
def index
@users = User.all
end
def show
2014-10-27 12:25:36 -04:00
@user = User.find(params[:id])
end
private
def user_params
params.permit(:id)
2014-10-15 16:40:46 -04:00
end
end