thessrb/thessrbio — pull request #13 by xarisd (2014-12-04 09:33:52+00:00)
Title: Add Home page

STEP 1 : Copy static files for styling …
* CSS
* Images

STEP 2 : Create controller, action and view
1. Create controller HomeController at app/controllers/home_controller.rb
2. Add a public (empty) method index to the controller
3. Create a view at app/views/home/index.html.erb
4. Copy the contents of _design/home.html to the view
5. Tell the controller NOT to use a layout (for now)

STEP 3 : Tell Rails to use them (a.k.a Routing)
1. Add root 'home#index' to config/routes.rb