lib/ember_cli/deploy/file.rb in ember-cli-rails-0.7.0 vs lib/ember_cli/deploy/file.rb in ember-cli-rails-0.7.1

- old
+ new

@@ -1,11 +1,20 @@ +require "rack" require "ember_cli/errors" module EmberCli module Deploy class File def initialize(app) @app = app + end + + def mountable? + true + end + + def to_rack + Rack::File.new(app.dist_path.to_s) end def index_html if index_file.exist? index_file.read