Apply Ryan Daigle's patch to fix editing contexts and projects. See #341. Does not resolve ajax loading issue mentioned in the ticket.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@302 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2006-08-03 01:07:13 +00:00
parent cf7b90101a
commit f9a2a6460d
2 changed files with 2 additions and 0 deletions

View file

@ -109,6 +109,7 @@ class ContextController < ApplicationController
# Edit the details of the context
#
def update
self.init
check_user_set_context
@context.attributes = params["context"]
@context.name = deurlize(@context.name)

View file

@ -129,6 +129,7 @@ class ProjectController < ApplicationController
# Edit the details of the project
#
def update
self.init
check_user_set_project
@project.attributes = params["project"]
@project.name = deurlize(@project.name)