1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix up the example app for getting started guide [ci skip]

This commit is contained in:
Vijay Dev 2012-06-02 21:38:32 +05:30
parent faf550c191
commit 983687a9e5
6 changed files with 8 additions and 10 deletions

View file

@ -1,5 +0,0 @@
class HomeController < ApplicationController
def index
end
end

View file

@ -0,0 +1,4 @@
class WelcomeController < ApplicationController
def index
end
end

View file

@ -1,2 +0,0 @@
module HomeHelper
end

View file

@ -0,0 +1,2 @@
module WelcomeHelper
end

View file

@ -53,7 +53,7 @@ Blog::Application.routes.draw do
# You can have the root of your site routed with "root"
# just remember to delete public/index.html.
root :to => "home#index"
root :to => "welcome#index"
# See how all your routes lay out with "rake routes"

View file

@ -1,9 +1,8 @@
require 'test_helper'
class HomeControllerTest < ActionController::TestCase
class WelcomeControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
end
end