mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
use "do end" instead of {} at IssueCategoriesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20312 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -78,10 +78,10 @@ class IssueCategoriesController < ApplicationController
|
|||||||
@category.safe_attributes = params[:issue_category]
|
@category.safe_attributes = params[:issue_category]
|
||||||
if @category.save
|
if @category.save
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html {
|
format.html do
|
||||||
flash[:notice] = l(:notice_successful_update)
|
flash[:notice] = l(:notice_successful_update)
|
||||||
redirect_to_settings_in_projects
|
redirect_to_settings_in_projects
|
||||||
}
|
end
|
||||||
format.api { render_api_ok }
|
format.api { render_api_ok }
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user