Converts IssuesController to use the new API template system and makes xml/json responses consistent (#6136).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4458 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -37,6 +37,8 @@ module Redmine
|
||||
if args.first.is_a?(Hash)
|
||||
if @struct.last.is_a?(Array)
|
||||
@struct.last << args.first
|
||||
else
|
||||
@struct.last[sym] = args.first
|
||||
end
|
||||
else
|
||||
if @struct.last.is_a?(Array)
|
||||
|
||||
Reference in New Issue
Block a user