Defect #5043 ยป projects_controller.rb.diff
| app/controllers/projects_controller.rb (working copy) | ||
|---|---|---|
| 204 | 204 |
|
| 205 | 205 |
def modules |
| 206 | 206 |
@project.enabled_module_names = params[:enabled_modules] |
| 207 |
flash[:notice] = l(:notice_successful_update) |
|
| 207 | 208 |
redirect_to :action => 'settings', :id => @project, :tab => 'modules' |
| 208 | 209 |
end |
| 209 | 210 | |
| ... | ... | |
| 261 | 262 |
@project.update_or_create_time_entry_activity(id, activity) |
| 262 | 263 |
end |
| 263 | 264 |
end |
| 265 |
flash[:notice] = l(:notice_successful_update) |
|
| 264 | 266 |
end |
| 265 | 267 |
|
| 266 | 268 |
redirect_to :controller => 'projects', :action => 'settings', :tab => 'activities', :id => @project |
| ... | ... | |
| 270 | 272 |
@project.time_entry_activities.each do |time_entry_activity| |
| 271 | 273 |
time_entry_activity.destroy(time_entry_activity.parent) |
| 272 | 274 |
end |
| 275 |
flash[:notice] = l(:notice_successful_update) |
|
| 273 | 276 |
redirect_to :controller => 'projects', :action => 'settings', :tab => 'activities', :id => @project |
| 274 | 277 |
end |
| 275 | 278 |
|