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