Move accessibilite to the root controller
This commit is contained in:
parent
82d764e340
commit
d0ec53a494
6 changed files with 6 additions and 9 deletions
|
@ -1,6 +0,0 @@
|
|||
class AccessibiliteController < ApplicationController
|
||||
layout "new_application"
|
||||
|
||||
def index
|
||||
end
|
||||
end
|
|
@ -56,6 +56,9 @@ class RootController < ApplicationController
|
|||
@dossier = Dossier.new(champs: all_champs)
|
||||
end
|
||||
|
||||
def accessibilite
|
||||
end
|
||||
|
||||
def suivi
|
||||
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"
|
||||
|
|
|
@ -116,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
|
||||
|
@ -132,6 +131,7 @@ Rails.application.routes.draw do
|
|||
|
||||
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