|
|
|
@ -150,7 +150,7 @@ class ProjectsController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
else
|
|
|
|
|
respond_to do |format|
|
|
|
|
|
format.html { render :action => 'new' }
|
|
|
|
|
format.html { render :action => 'new', :layout => 'base'}#Added by young
|
|
|
|
|
format.api { render_validation_errors(@project) }
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|