Commit 8fe1b912

mo khan <mo@mokhan.ca>
2014-05-19 19:14:51
fix single photo page.
1 parent 65bce45
Changed files (2)
app/controllers/photos_controller.rb
@@ -1,6 +1,6 @@
 class PhotosController < ApplicationController
-  before_filter :authenticate_user!, :except => [:index]
-  before_filter :find_creation, :except => [:index]
+  before_filter :authenticate_user!, :except => [:index, :show]
+  before_filter :find_creation, :except => [:index, :show]
 
   def index
     @creation = Creation.find(params[:creation_id])
capfile
@@ -1,4 +1,3 @@
 load 'deploy'
 load 'deploy/assets'
 load 'config/deploy' # remove this line to skip loading any of the default tasks
-