summaryrefslogtreecommitdiff
path: root/app/controllers/home_controller.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-27 19:44:29 -0700
committermo khan <mo@mokhan.ca>2014-02-27 19:44:29 -0700
commit3e27cf92632ffdb0f7b02dbc7781229ec82bd207 (patch)
tree65ce0a8e24e4af287756402c1574005b06d08d47 /app/controllers/home_controller.rb
parent0cdd9264ceb5d6bd3d143b8fe08c9093abd5d234 (diff)
add a homepage to display the different types of routes.
Diffstat (limited to 'app/controllers/home_controller.rb')
-rw-r--r--app/controllers/home_controller.rb6
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