added auth_user back to photos controller
This commit is contained in:
parent
79536dcfb7
commit
c8c76ddab5
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
class PhotosController < ApplicationController
|
||||
#before_filter :authenticate_user!
|
||||
before_filter :authenticate_user!
|
||||
|
||||
def index
|
||||
@photos = Photo.paginate :page => params[:page], :order => 'created_at DESC'
|
||||
|
|
|
|||
Loading…
Reference in a new issue