Adds support for adding attachments to issues through the REST API (#8171).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8928 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-02-23 10:01:16 +00:00
parent d086683b17
commit 77626ef6fb
10 changed files with 175 additions and 19 deletions

View File

@@ -409,6 +409,8 @@ ActionController::Routing::Routes.draw do |map|
:conditions => {:method => :get}
end
map.connect 'uploads.:format', :controller => 'attachments', :action => 'upload', :conditions => {:method => :post}
map.connect 'robots.txt', :controller => 'welcome',
:action => 'robots', :conditions => {:method => :get}