@@ -110,9 +110,10 class ProjectsController < ApplicationController | |||
|
110 | 110 | flash[:notice] = l(:notice_successful_create) |
|
111 | 111 | redirect_to :controller => 'admin', :action => 'projects' |
|
112 | 112 | end |
|
113 |
end |
|
|
113 | end | |
|
114 | rescue ActiveRecord::RecordNotFound | |
|
115 | redirect_to :controller => 'admin', :action => 'projects' | |
|
114 | 116 | end |
|
115 | ||
|
116 | 117 | |
|
117 | 118 | # Show @project |
|
118 | 119 | def show |
General Comments 0
You need to be logged in to leave comments.
Login now