diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-27 19:44:29 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-27 19:44:29 -0700 |
| commit | 3e27cf92632ffdb0f7b02dbc7781229ec82bd207 (patch) | |
| tree | 65ce0a8e24e4af287756402c1574005b06d08d47 /app/controllers | |
| parent | 0cdd9264ceb5d6bd3d143b8fe08c9093abd5d234 (diff) | |
add a homepage to display the different types of routes.
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/home_controller.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb new file mode 100644 index 0000000..a7d44f1 --- /dev/null +++ b/app/controllers/home_controller.rb @@ -0,0 +1,6 @@ +class HomeController < ApplicationController + def index + @licenses = License.all + @companies = Company.all + end +end |
