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)
|
||||
end
|
||||
|
||||
def accessibilite
|
||||
end
|
||||
|
||||
def suivi
|
||||
end
|
||||
|
||||
def tour_de_france
|
||||
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"
|
||||
–
|
||||
|
|
|
@ -40,4 +40,4 @@
|
|||
%li.footer-link
|
||||
= link_to "FAQ", FAQ_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
||||
%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'
|
||||
get '/tour-de-france' => 'tour_de_france#index'
|
||||
get '/administration' => 'root#administration'
|
||||
|
||||
get 'users' => 'users#index'
|
||||
|
@ -117,7 +116,6 @@ Rails.application.routes.draw do
|
|||
|
||||
get '/stats' => 'stats#index'
|
||||
get '/stats/download' => 'stats#download'
|
||||
resources :accessibilite, only: [:index]
|
||||
resources :demandes, only: [:new, :create]
|
||||
|
||||
namespace :france_connect do
|
||||
|
@ -131,7 +129,9 @@ Rails.application.routes.draw do
|
|||
post ':position/carte', to: 'carte#show', as: :carte
|
||||
end
|
||||
|
||||
get 'tour-de-france' => 'root#tour_de_france'
|
||||
get "patron" => "root#patron"
|
||||
get "accessibilite" => "root#accessibilite"
|
||||
get "suivi" => "root#suivi"
|
||||
|
||||
get "contact", to: "support#index"
|
||||
|
|
Loading…
Reference in a new issue