Erreur dans l'ordre des directives de redirect php
This commit is contained in:
parent
56a7654e05
commit
183da61f3f
@ -25,10 +25,10 @@ Rails.application.routes.draw do
|
|||||||
|
|
||||||
# Manage former php pages
|
# Manage former php pages
|
||||||
get 'showevent.php', to: redirect { |params, request| "events/#{request.params[:id]}" }
|
get 'showevent.php', to: redirect { |params, request| "events/#{request.params[:id]}" }
|
||||||
# Respond to rss and ical calls
|
|
||||||
get '(:format).php', to: redirect { |params, request| "events.#{request.format.to_sym}?#{request.query_string}" }
|
|
||||||
# A mechanism to list "all" events
|
# A mechanism to list "all" events
|
||||||
get '(:format)listevents.php', to: redirect { |params, request| "events.#{request.format.to_sym}?#{request.query_string}" }
|
get '(:format)listevents.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'}
|
devise_for :users, path: '', path_names: {sign_in: 'login', sign_out: 'logout'}
|
||||||
devise_for :admin_users, ActiveAdmin::Devise.config
|
devise_for :admin_users, ActiveAdmin::Devise.config
|
||||||
|
Loading…
Reference in New Issue
Block a user