Rajout d'une règle pour gérer les anciens appels à event.php
This commit is contained in:
parent
cce660843d
commit
af517540c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user