mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-09 09:01:31 +00:00
shorten long line of IssueCategoriesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20357 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
67d8f2e5df
commit
8a0ca5db22
@ -60,7 +60,10 @@ class IssueCategoriesController < ApplicationController
|
||||
redirect_to_settings_in_projects
|
||||
end
|
||||
format.js
|
||||
format.api { render :action => 'show', :status => :created, :location => issue_category_path(@category) }
|
||||
format.api do
|
||||
render(:action => 'show', :status => :created,
|
||||
:location => issue_category_path(@category))
|
||||
end
|
||||
end
|
||||
else
|
||||
respond_to do |format|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user