Skip to content

Commit

Permalink
Removing home route
Browse files Browse the repository at this point in the history
Redundant as a starting point. Set examples as
new root
  • Loading branch information
futurefabric committed Feb 20, 2014
1 parent 789be68 commit c0c3fe4
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 99 deletions.
1 change: 0 additions & 1 deletion app/assets/stylesheets/application.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@
@import "prototype/defaults";

// prototype view stylesheets
@import "home";
@import "examples";
1 change: 0 additions & 1 deletion app/assets/stylesheets/home.css.scss

This file was deleted.

7 changes: 0 additions & 7 deletions app/controllers/home_controller.rb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/home/_breadcrumbs.html.erb

This file was deleted.

45 changes: 0 additions & 45 deletions app/views/home/_related_links.html.erb

This file was deleted.

38 changes: 0 additions & 38 deletions app/views/home/index.html.erb

This file was deleted.

3 changes: 1 addition & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

get "examples/index"
get "examples" => 'examples#index'
get "home/index"

# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".

# You can have the root of your site routed with "root"
root 'home#index'
root 'examples#index'

# Example of regular route:
# get 'products/:id' => 'catalog#view'
Expand Down

0 comments on commit c0c3fe4

Please sign in to comment.