@@ -1,7 +1,7 | |||||
1 | class ProjectEnumerationsController < ApplicationController |
|
1 | class ProjectEnumerationsController < ApplicationController | |
2 | before_filter :find_project_by_project_id |
|
2 | before_filter :find_project_by_project_id | |
3 | before_filter :authorize |
|
3 | before_filter :authorize | |
4 |
|
4 | |||
5 | def update |
|
5 | def update | |
6 | if request.put? && params[:enumerations] |
|
6 | if request.put? && params[:enumerations] | |
7 | Project.transaction do |
|
7 | Project.transaction do | |
@@ -11,7 +11,7 class ProjectEnumerationsController < ApplicationController | |||||
11 | end |
|
11 | end | |
12 | flash[:notice] = l(:notice_successful_update) |
|
12 | flash[:notice] = l(:notice_successful_update) | |
13 | end |
|
13 | end | |
14 |
|
14 | |||
15 | redirect_to :controller => 'projects', :action => 'settings', :tab => 'activities', :id => @project |
|
15 | redirect_to :controller => 'projects', :action => 'settings', :tab => 'activities', :id => @project | |
16 | end |
|
16 | end | |
17 |
|
17 |
General Comments 0
You need to be logged in to leave comments.
Login now