Skip to content

Commit 1ccad80

Browse files
committed
WIP - Include ActionController::Base modules
1 parent a9c799c commit 1ccad80

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/controller/ember_cli/ember_controller.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
module EmberCli
2-
class EmberController < ActionController::Base
2+
class EmberController < ::ApplicationController
3+
(::ActionController::Base::MODULES - ::ActionController::API::MODULES).each do |mod|
4+
include mod
5+
end
6+
37
def index
48
render layout: false
59
end

0 commit comments

Comments
 (0)