From 7d6be51cfb0c0750ada0795550071cf5406ef305 Mon Sep 17 00:00:00 2001 From: maxwell Date: Mon, 8 Nov 2010 17:53:47 -0800 Subject: [PATCH] making photos#show be in no aspect --- app/controllers/photos_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/photos_controller.rb b/app/controllers/photos_controller.rb index 780f17b5b..063e98b4c 100644 --- a/app/controllers/photos_controller.rb +++ b/app/controllers/photos_controller.rb @@ -83,6 +83,7 @@ class PhotosController < ApplicationController end def show + @aspect = :none @photo = current_user.find_visible_post_by_id params[:id] unless @photo render :file => "#{Rails.root}/public/404.html", :layout => false, :status => 404