diff options
Diffstat (limited to 'app/controllers/home_controller.rb')
-rw-r--r-- | app/controllers/home_controller.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb new file mode 100644 index 0000000..bb2a178 --- /dev/null +++ b/app/controllers/home_controller.rb @@ -0,0 +1,13 @@ +require 'erb' +require "./app/controllers/application_controller" + +class HomeController < ApplicationController + def index(params) + @time = Time.now.to_s + render :index + end + + def controller_namespace + :home + end +end |