Sha256: e93a8fbdc70b12e1c4d500f31c861490ee6c162fd3a4f494aef22085b97dd28e
Contents?: true
Size: 233 Bytes
Versions: 8
Compression:
Stored size: 233 Bytes
Contents
class UsersController < ApplicationController before_action :authenticate_user! before_action :correct_user?, :except => [:index] def index @users = User.all end def show @user = User.find(params[:id]) end end
Version data entries
8 entries across 8 versions & 1 rubygems