From af517540c34bd046e9585d4f43604aa4f1e195bf Mon Sep 17 00:00:00 2001 From: echarp Date: Mon, 25 Aug 2014 18:09:31 +0200 Subject: [PATCH] =?UTF-8?q?Rajout=20d'une=20r=C3=A8gle=20pour=20g=C3=A9rer?= =?UTF-8?q?=20les=20anciens=20appels=20=C3=A0=20event.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 2 ++ 1 file changed, 2 insertions(+) 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