Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
adding authenticate_user before filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Scott committed Jul 31, 2010
1 parent f3a8c3d commit cea0b45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/photos_controller.rb
@@ -1,4 +1,6 @@
class PhotosController < ApplicationController
before_filter :authenticate_user!, :except=>[:index]

# GET /photos
# GET /photos.xml
def index
Expand Down

0 comments on commit cea0b45

Please sign in to comment.