tricknotes / ember-cli-rails

Unify your EmberCLI and Rails Workflows
http://thoughtbot.github.io/ember-cli-rails/
MIT License
713 stars 205 forks source link

Include helper & extra modules when using API. #466

Closed undergroundwebdesigns closed 8 years ago

undergroundwebdesigns commented 8 years ago

Adds logic to conditionally load extra controller modules and manually include the EmberCLI helper when inheriting from an ApplicationController that inherits from ActionController::API instead of ActionController::Base. Allows the gem to work as expected with Rails 5 apps that use the --api option when generating the app.

williamweckl commented 8 years ago

+1

seanpdoyle commented 8 years ago

Closing in favor of #400.

If you think this shouldn't be closed, please comment and I'll reopen.