aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTeddy Wing2015-01-23 23:21:18 -0500
committerTeddy Wing2015-01-23 23:21:18 -0500
commitc372914af04268126d1e4a11af1c8d9baa014167 (patch)
treefaa63d25578bf7439b22bda606bee2e9ab9be312 /config
parentf708e80dfb4440c4a2e5b26fdfe1179b0408ae17 (diff)
downloadNotes-angular-demo-c372914af04268126d1e4a11af1c8d9baa014167.tar.bz2
Create an index page
* Add `main` action to HomeController * Set `main` as our root route * Create a view for `main` with dummy text
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index c5c7483..4235143 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +1,4 @@
Rails.application.routes.draw do
+ root :to => 'home#main'
resources :notes, :except => [:new, :edit]
end