diff --git a/config/routes.rb b/config/routes.rb index 07ca0830..d869663d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -29,6 +29,8 @@ Rails.application.routes.draw do get '(:format)listevents.php', to: redirect { |_, r| "events.#{r.format.to_sym}?#{r.query_string}" } # Respond to rss and ical calls + get 'event.php', + to: redirect { |_, r| "events?#{r.query_string}" } get '(:format)event.php', to: redirect { |_, r| "events.#{r.format.to_sym}?#{r.query_string}" } # Respond to rss and ical calls