Move tour_de_france to the root controller

This commit is contained in:
gregoirenovel 2018-11-22 00:58:13 +01:00
parent 4a8b56cded
commit 82d764e340
4 changed files with 4 additions and 7 deletions

View file

@ -58,4 +58,7 @@ class RootController < ApplicationController
def suivi
end
def tour_de_france
end
end

View file

@ -1,6 +0,0 @@
class TourDeFranceController < ApplicationController
layout 'new_application'
def index
end
end

View file

@ -130,7 +130,7 @@ Rails.application.routes.draw do
post ':position/carte', to: 'carte#show', as: :carte
end
get 'tour-de-france' => 'tour_de_france#index'
get 'tour-de-france' => 'root#tour_de_france'
get "patron" => "root#patron"
get "suivi" => "root#suivi"