remove user index
This commit is contained in:
parent
20bc88c0bf
commit
82f53663ab
1 changed files with 0 additions and 3 deletions
|
|
@ -1,9 +1,6 @@
|
|||
class UsersController < ApplicationController
|
||||
before_filter :authenticate_user!, :except => [:new, :create]
|
||||
|
||||
def index
|
||||
@users = User.sort(:created_at.desc).all
|
||||
end
|
||||
def show
|
||||
@user= User.first(:id => params[:id])
|
||||
@user_profile = @user.person.profile
|
||||
|
|
|
|||
Loading…
Reference in a new issue