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