mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
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:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user