Move tour_de_france to the root controller
This commit is contained in:
parent
4a8b56cded
commit
82d764e340
4 changed files with 4 additions and 7 deletions
|
@ -58,4 +58,7 @@ class RootController < ApplicationController
|
|||
|
||||
def suivi
|
||||
end
|
||||
|
||||
def tour_de_france
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
class TourDeFranceController < ApplicationController
|
||||
layout 'new_application'
|
||||
|
||||
def index
|
||||
end
|
||||
end
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue