From 1ccad80010c5a82812f3c6a1dc1517f3caf50aba Mon Sep 17 00:00:00 2001 From: Sean Doyle Date: Wed, 10 Feb 2016 19:28:38 -0500 Subject: [PATCH] WIP - Include `ActionController::Base` modules --- app/controller/ember_cli/ember_controller.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/controller/ember_cli/ember_controller.rb b/app/controller/ember_cli/ember_controller.rb index 2ad6fd8e..6f32e378 100644 --- a/app/controller/ember_cli/ember_controller.rb +++ b/app/controller/ember_cli/ember_controller.rb @@ -1,5 +1,9 @@ module EmberCli - class EmberController < ActionController::Base + class EmberController < ::ApplicationController + (::ActionController::Base::MODULES - ::ActionController::API::MODULES).each do |mod| + include mod + end + def index render layout: false end