From: Neil Smith Date: Fri, 6 Feb 2009 17:45:45 +0000 (+0000) Subject: Fixed default route to be to the store controller X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=825cf787828710d8ac9084cc21bfe7ab5d27c54e;p=depot.git Fixed default route to be to the store controller --- 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