commit
75777e7af8
8 changed files with 10 additions and 16 deletions
|
@ -1,6 +0,0 @@
|
||||||
class AccessibiliteController < ApplicationController
|
|
||||||
layout "new_application"
|
|
||||||
|
|
||||||
def index
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -56,6 +56,12 @@ class RootController < ApplicationController
|
||||||
@dossier = Dossier.new(champs: all_champs)
|
@dossier = Dossier.new(champs: all_champs)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def accessibilite
|
||||||
|
end
|
||||||
|
|
||||||
def suivi
|
def suivi
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def tour_de_france
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
class TourDeFranceController < ApplicationController
|
|
||||||
layout 'new_application'
|
|
||||||
|
|
||||||
def index
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,4 +1,4 @@
|
||||||
= link_to "Accessibilité", accessibilite_index_path, :class => "footer-link"
|
= link_to "Accessibilité", accessibilite_path, :class => "footer-link"
|
||||||
–
|
–
|
||||||
= link_to "CGU", CGU_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
= link_to "CGU", CGU_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
||||||
–
|
–
|
||||||
|
|
|
@ -40,4 +40,4 @@
|
||||||
%li.footer-link
|
%li.footer-link
|
||||||
= link_to "FAQ", FAQ_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
= link_to "FAQ", FAQ_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
||||||
%li.footer-link
|
%li.footer-link
|
||||||
= link_to "Accessibilité", accessibilite_index_path, :class => "footer-link"
|
= link_to "Accessibilité", accessibilite_path, :class => "footer-link"
|
||||||
|
|
|
@ -109,7 +109,6 @@ Rails.application.routes.draw do
|
||||||
#
|
#
|
||||||
|
|
||||||
root 'root#index'
|
root 'root#index'
|
||||||
get '/tour-de-france' => 'tour_de_france#index'
|
|
||||||
get '/administration' => 'root#administration'
|
get '/administration' => 'root#administration'
|
||||||
|
|
||||||
get 'users' => 'users#index'
|
get 'users' => 'users#index'
|
||||||
|
@ -117,7 +116,6 @@ Rails.application.routes.draw do
|
||||||
|
|
||||||
get '/stats' => 'stats#index'
|
get '/stats' => 'stats#index'
|
||||||
get '/stats/download' => 'stats#download'
|
get '/stats/download' => 'stats#download'
|
||||||
resources :accessibilite, only: [:index]
|
|
||||||
resources :demandes, only: [:new, :create]
|
resources :demandes, only: [:new, :create]
|
||||||
|
|
||||||
namespace :france_connect do
|
namespace :france_connect do
|
||||||
|
@ -131,7 +129,9 @@ Rails.application.routes.draw do
|
||||||
post ':position/carte', to: 'carte#show', as: :carte
|
post ':position/carte', to: 'carte#show', as: :carte
|
||||||
end
|
end
|
||||||
|
|
||||||
|
get 'tour-de-france' => 'root#tour_de_france'
|
||||||
get "patron" => "root#patron"
|
get "patron" => "root#patron"
|
||||||
|
get "accessibilite" => "root#accessibilite"
|
||||||
get "suivi" => "root#suivi"
|
get "suivi" => "root#suivi"
|
||||||
|
|
||||||
get "contact", to: "support#index"
|
get "contact", to: "support#index"
|
||||||
|
|
Loading…
Reference in a new issue