Makes versions resource shallow (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6183 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -102,7 +102,7 @@ class VersionsController < ApplicationController
|
||||
}
|
||||
end
|
||||
format.api do
|
||||
render :action => 'show', :status => :created, :location => project_version_url(@project, @version)
|
||||
render :action => 'show', :status => :created, :location => version_url(@version)
|
||||
end
|
||||
end
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user