controller, helper and routes

This commit is contained in:
Rimian Perkins
2017-01-31 13:28:41 +11:00
parent f6c9977c7a
commit df810c3613
5 changed files with 36 additions and 1 deletions
@@ -0,0 +1,7 @@
require_dependency 'discourse'
module Choice
class ApplicationController < ActionController::Base
include CurrentUser
end
end
@@ -0,0 +1,7 @@
module Choice
class ChoiceController < Choice::ApplicationController
def about
head 200
end
end
end
+5
View File
@@ -0,0 +1,5 @@
module Choice
module ApplicationHelper
end
end