diff options
| author | Teddy Wing | 2015-01-23 23:21:18 -0500 | 
|---|---|---|
| committer | Teddy Wing | 2015-01-23 23:21:18 -0500 | 
| commit | c372914af04268126d1e4a11af1c8d9baa014167 (patch) | |
| tree | faa63d25578bf7439b22bda606bee2e9ab9be312 /app | |
| parent | f708e80dfb4440c4a2e5b26fdfe1179b0408ae17 (diff) | |
| download | Notes-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 'app')
| -rw-r--r-- | app/controllers/home_controller.rb | 2 | ||||
| -rw-r--r-- | app/views/home/main.html.erb | 1 | 
2 files changed, 3 insertions, 0 deletions
| diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index fc0b474..82601c1 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -1,2 +1,4 @@  class HomeController < ApplicationController +  def main +  end  end diff --git a/app/views/home/main.html.erb b/app/views/home/main.html.erb new file mode 100644 index 0000000..b2ebb94 --- /dev/null +++ b/app/views/home/main.html.erb @@ -0,0 +1 @@ +hello from home | 
