Petit ajout pour gérer des urls en icalevent.php

This commit is contained in:
echarp 2014-07-19 09:39:10 +02:00
parent 183da61f3f
commit a09a904c0b
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ Rails.application.routes.draw do
# A mechanism to list "all" events
get '(:format)listevents.php', to: redirect { |params, request| "events.#{request.format.to_sym}?#{request.query_string}" }
# Respond to rss and ical calls
get '(:format)event.php', to: redirect { |params, request| "events.#{request.format.to_sym}?#{request.query_string}" }
# Respond to rss and ical calls
get '(:format).php', to: redirect { |params, request| "events.#{request.format.to_sym}?#{request.query_string}" }
devise_for :users, path: '', path_names: {sign_in: 'login', sign_out: 'logout'}