Skip to content

Commit

Permalink
view: replace start page
Browse files Browse the repository at this point in the history
  • Loading branch information
yanovich committed Jan 3, 2011
1 parent a06a2cf commit c340b1c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 239 deletions.
5 changes: 5 additions & 0 deletions app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class HomeController < ApplicationController
def index
end

end
2 changes: 2 additions & 0 deletions app/helpers/home_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module HomeHelper
end
2 changes: 2 additions & 0 deletions app/views/home/index.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<h1>Abstract Home</h1>
<p>Find me in app/views/home/index.html.erb</p>
3 changes: 3 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Abstract::Application.routes.draw do
get "home/index"

# The priority is based upon order of creation:
# first created -> highest priority.

Expand Down Expand Up @@ -49,6 +51,7 @@
# You can have the root of your site routed with "root"
# just remember to delete public/index.html.
# root :to => "welcome#index"
root :to => "home#index"

# See how all your routes lay out with "rake routes"

Expand Down
239 changes: 0 additions & 239 deletions public/index.html

This file was deleted.

0 comments on commit c340b1c

Please sign in to comment.