Removed api version prefix for iCal routes.
This commit is contained in:
parent
aba5be2fb8
commit
8c775463c5
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
|||
Zammad::Application.routes.draw do
|
||||
api_path = Rails.configuration.api_path
|
||||
|
||||
match api_path + '/ical', to: 'i_cal#all', via: :get
|
||||
match api_path + '/ical/:object', to: 'i_cal#object', via: :get
|
||||
match api_path + '/ical/:object/:method', to: 'i_cal#object', via: :get
|
||||
match '/ical', to: 'i_cal#all', via: :get
|
||||
match '/ical/:object', to: 'i_cal#object', via: :get
|
||||
match '/ical/:object/:method', to: 'i_cal#object', via: :get
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue