Sha256: 118cc243b54c091ce77728a8118b405bf7e2ed8a5cf39ce5c87a43dfe16f395e
Contents?: true
Size: 329 Bytes
Versions: 8
Compression:
Stored size: 329 Bytes
Contents
module EmberCLI class Middleware def initialize(app) @app = app end def call(env) path = env["PATH_INFO"].to_s if path == "/testem.js" [ 200, { "Content-Type" => "text/javascript" }, [""] ] else EmberCLI.process_path path @app.call(env) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems