From 3e27cf92632ffdb0f7b02dbc7781229ec82bd207 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 27 Feb 2014 19:44:29 -0700 Subject: add a homepage to display the different types of routes. --- app/controllers/home_controller.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 app/controllers/home_controller.rb (limited to 'app/controllers') 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 -- cgit v1.2.3