controller, helper and routes
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
module Choice
|
||||
module ApplicationHelper
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user