|
|
|
@ -457,11 +457,7 @@ RedmineApp::Application.routes.draw do
|
|
|
|
|
match 'attachments/autocomplete', :to => 'attachments#autocomplete', via: [:post]
|
|
|
|
|
post 'attachments/relationfile', to: 'attachments#add_exist_file_to_project', as: 'attach_relation'
|
|
|
|
|
post 'attachments/updateType/:attachmentid/:newtype' ,:to => 'attachments#updateType', :attachmentid => /\d+/, :newtype => /.*/
|
|
|
|
|
resources :attachments, :only => [:show, :destroy] do
|
|
|
|
|
collection do
|
|
|
|
|
match "updateType" , via: [:get, :post]
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
resources :attachments, :only => [:show, :destroy]
|
|
|
|
|
|
|
|
|
|
resources :groups do
|
|
|
|
|
member do
|
|
|
|
|