Skip to content

Commit

Permalink
WIP - Include ActionController::Base modules
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpdoyle committed Feb 11, 2016
1 parent a9c799c commit 1ccad80
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/controller/ember_cli/ember_controller.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1ccad80

Please sign in to comment.