Prepared fror rails 4.

This commit is contained in:
Martin Edenhofer 2013-05-29 17:07:45 +02:00
parent a0ab8b30c3
commit dfec4e5bd5

View file

@ -12,7 +12,7 @@ module ExtraRoutes
map.match '/api/ticket_history/:id', :to => 'tickets#ticket_history', :via => :get map.match '/api/ticket_history/:id', :to => 'tickets#ticket_history', :via => :get
map.match '/api/ticket_customer', :to => 'tickets#ticket_customer', :via => :get map.match '/api/ticket_customer', :to => 'tickets#ticket_customer', :via => :get
map.match '/api/ticket_merge_list/:ticket_id', :to => 'tickets#ticket_merge_list', :via => :get map.match '/api/ticket_merge_list/:ticket_id', :to => 'tickets#ticket_merge_list', :via => :get
map.match '/api/ticket_merge/:slave_ticket_id/:master_ticket_number', :to => 'tickets#ticket_merge' map.match '/api/ticket_merge/:slave_ticket_id/:master_ticket_number', :to => 'tickets#ticket_merge', :via => :get
# ticket overviews # ticket overviews
map.match '/api/ticket_overviews', :to => 'ticket_overviews#show', :via => :get map.match '/api/ticket_overviews', :to => 'ticket_overviews#show', :via => :get
@ -34,8 +34,8 @@ module ExtraRoutes
map.match '/api/ticket_articles/:id', :to => 'ticket_articles#show', :via => :get map.match '/api/ticket_articles/:id', :to => 'ticket_articles#show', :via => :get
map.match '/api/ticket_articles', :to => 'ticket_articles#create', :via => :post map.match '/api/ticket_articles', :to => 'ticket_articles#create', :via => :post
map.match '/api/ticket_articles/:id', :to => 'ticket_articles#update', :via => :put map.match '/api/ticket_articles/:id', :to => 'ticket_articles#update', :via => :put
map.match '/api/ticket_attachment/:ticket_id/:article_id/:id', :to => 'ticket_articles#attachment' map.match '/api/ticket_attachment/:ticket_id/:article_id/:id', :to => 'ticket_articles#attachment', :via => :get
map.match '/api/ticket_attachment_new', :to => 'ticket_articles#attachment_new' map.match '/api/ticket_attachment_new', :to => 'ticket_articles#attachment_new', :via => :post
map.match '/api/ticket_article_plain/:id', :to => 'ticket_articles#article_plain', :via => :get map.match '/api/ticket_article_plain/:id', :to => 'ticket_articles#article_plain', :via => :get
end end