diff options
Diffstat (limited to 'app/controllers/previews_controller.rb')
-rw-r--r-- | app/controllers/previews_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/previews_controller.rb b/app/controllers/previews_controller.rb index e74d1fe55..cd354faab 100644 --- a/app/controllers/previews_controller.rb +++ b/app/controllers/previews_controller.rb @@ -45,7 +45,7 @@ class PreviewsController < ApplicationController def find_project project_id = (params[:issue] && params[:issue][:project_id]) || params[:project_id] - @project = Project.visible.find(project_id) + @project = Project.find(project_id) rescue ActiveRecord::RecordNotFound render_404 end |