Mercurial > hg > soundsoftware-site
diff app/controllers/project_enumerations_controller.rb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | 40f7cfd4df19 |
children | 433d4f72a19b |
line wrap: on
line diff
--- a/app/controllers/project_enumerations_controller.rb Fri Feb 24 18:36:29 2012 +0000 +++ b/app/controllers/project_enumerations_controller.rb Fri Feb 24 19:09:32 2012 +0000 @@ -1,7 +1,7 @@ class ProjectEnumerationsController < ApplicationController before_filter :find_project_by_project_id before_filter :authorize - + def update if request.put? && params[:enumerations] Project.transaction do @@ -11,7 +11,7 @@ end flash[:notice] = l(:notice_successful_update) end - + redirect_to :controller => 'projects', :action => 'settings', :tab => 'activities', :id => @project end