diff options
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 78a1e4660..53293340e 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -500,8 +500,8 @@ private def find_project
@project = Project.find(params[:id])
@html_title = @project.name
- rescue - redirect_to :action => 'list'
+ rescue ActiveRecord::RecordNotFound + render_404
end
# Retrieve query from session or build a new query
|