This one needs a nice test
This commit is contained in:
Reinier Balt 2008-08-18 16:02:13 +02:00
parent 2a6b8f1cd9
commit b2e82ea6b6
9 changed files with 38 additions and 3 deletions

View file

@ -136,6 +136,10 @@ class ProjectsController < ApplicationController
@initial_context_name = @project.default_context.name
render :template => 'projects/update_default_context.js.rjs'
return
elsif boolean_param('update_project_name')
@projects = current_user.projects
render :template => 'projects/update_project_name.js.rjs'
return
else
render :text => success_text || 'Success'
return