lib/ember-auth-rails.rb in ember-auth-rails-3.8.0 vs lib/ember-auth-rails.rb in ember-auth-rails-4.0.0

- old
+ new

@@ -1,7 +1,15 @@ +require 'rails' +require 'ember-auth/source' require 'ember-auth/rails/version' +require 'ember-auth/rails/engine' module EmberAuth module Rails - require 'ember-auth/rails/engine' + class Railtie < ::Rails::Railtie + initializer 'ember-auth.setup-vendor', :group => :all do |app| + app.assets.append_path \ + File.expand_path('../', ::EmberAuth::Source.bundled_path) + end + end end end