From 825cf787828710d8ac9084cc21bfe7ab5d27c54e Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Fri, 6 Feb 2009 17:45:45 +0000 Subject: [PATCH] Fixed default route to be to the store controller --- config/routes.rb | 4 +- public/index.html | 274 ---------------------------------------------- 2 files changed, 3 insertions(+), 275 deletions(-) delete mode 100644 public/index.html diff --git a/config/routes.rb b/config/routes.rb index 61ff96b..13bc70e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -33,7 +33,7 @@ ActionController::Routing::Routes.draw do |map| # end # You can have the root of your site routed with map.root -- just remember to delete public/index.html. - # map.root :controller => "welcome" + map.root :controller => "store" # See how all your routes lay out with "rake routes" @@ -42,4 +42,6 @@ ActionController::Routing::Routes.draw do |map| # consider removing the them or commenting them out if you're using named routes and resources. map.connect ':controller/:action/:id' map.connect ':controller/:action/:id.:format' + +# map.connect '', :controller => "store" end diff --git a/public/index.html b/public/index.html deleted file mode 100644 index e84c359..0000000 --- a/public/index.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - Ruby on Rails: Welcome aboard - - - - - - -
- - -
- - - - -
-

Getting started

-

Here’s how to get rolling:

- -
    -
  1. -

    Use script/generate to create your models and controllers

    -

    To see all available options, run it without parameters.

    -
  2. - -
  3. -

    Set up a default route and remove or rename this file

    -

    Routes are set up in config/routes.rb.

    -
  4. - -
  5. -

    Create your database

    -

    Run rake db:migrate to create your database. If you're not using SQLite (the default), edit config/database.yml with your username and password.

    -
  6. -
-
-
- - -
- - \ No newline at end of file -- 2.34.1