From d6df07b9d7b5206ab170894a93dc8c6346230ee8 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Mon, 21 Jul 2014 13:47:05 +0300 Subject: [PATCH] Remove left over home controller --- app/controllers/home_controller.rb | 4 ---- app/views/home/index.html.erb | 2 -- config/routes.rb | 1 - spec/controllers/home_controller_spec.rb | 10 ---------- 4 files changed, 17 deletions(-) delete mode 100644 app/controllers/home_controller.rb delete mode 100644 app/views/home/index.html.erb delete mode 100644 spec/controllers/home_controller_spec.rb diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb deleted file mode 100644 index 95f29929..00000000 --- a/app/controllers/home_controller.rb +++ /dev/null @@ -1,4 +0,0 @@ -class HomeController < ApplicationController - def index - end -end diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb deleted file mode 100644 index 2085730c..00000000 --- a/app/views/home/index.html.erb +++ /dev/null @@ -1,2 +0,0 @@ -

Home#index

-

Find me in app/views/home/index.html.erb

diff --git a/config/routes.rb b/config/routes.rb index ed74a5dd..f4d3165c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,7 +8,6 @@ sessions: 'sessions'} get "users/present" - get "home/index" root "users#present" # The priority is based upon order of creation: first created -> highest priority. diff --git a/spec/controllers/home_controller_spec.rb b/spec/controllers/home_controller_spec.rb deleted file mode 100644 index ee960107..00000000 --- a/spec/controllers/home_controller_spec.rb +++ /dev/null @@ -1,10 +0,0 @@ -require 'rails_helper' - -describe HomeController do - describe "GET 'index'" do - it "returns http success" do - get 'index' - expect(response).to be_success - end - end -end