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:
Jean-Philippe Lang
2011-07-05 16:29:06 +00:00
parent 25d900c787
commit 852cb183b1
8 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -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