diff --git a/app/assets/javascripts/app/views/profile/calendar_subscriptions.jst.eco b/app/assets/javascripts/app/views/profile/calendar_subscriptions.jst.eco index 9c2b2daa3..bc63f36d0 100644 --- a/app/assets/javascripts/app/views/profile/calendar_subscriptions.jst.eco +++ b/app/assets/javascripts/app/views/profile/calendar_subscriptions.jst.eco @@ -8,7 +8,7 @@
<%= @T('See your tickets from within your favorite calendar by adding the following url to your calendar app.') %>
<%= @translationTable[stateType] %> | - | <%= @T('Show') %>
+ | <%= @T('Show') %>
<% end %>
diff --git a/config/routes/calendar_subscriptions.rb b/config/routes/calendar_subscriptions.rb
index ef609e982..204d0da0e 100644
--- a/config/routes/calendar_subscriptions.rb
+++ b/config/routes/calendar_subscriptions.rb
@@ -1,5 +1,11 @@
Zammad::Application.routes.draw do
+ # shorter version
+ match '/ical', to: 'calendar_subscriptions#all', via: :get
+ match '/ical/:object', to: 'calendar_subscriptions#object', via: :get
+ match '/ical/:object/:method', to: 'calendar_subscriptions#object', via: :get
+
+ # wording version
match '/calendar_subscriptions', to: 'calendar_subscriptions#all', via: :get
match '/calendar_subscriptions/:object', to: 'calendar_subscriptions#object', via: :get
match '/calendar_subscriptions/:object/:method', to: 'calendar_subscriptions#object', via: :get
|