Byte4/acebook-byte4

View on GitHub
app/controllers/users_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true
 
# User controller class
class UsersController < ApplicationController
before_action :authenticate_user!, except: [:show]
 
def show
@user = User.find(params[:id])
end
end