Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ main
lines to the shell. An application, or an executable configured with an
option such as `npm_path`, under a directory whose name contained a space
or another character the shell treats specially failed to build or install
* Stop passing `format: :html` to the route `mount_ember_app` draws. Rails
ignored a Symbol `format:` until rails/rails#59418, which makes it a
format requirement with `html` as the default. With it, the route's glob
swallowed the extension of an asset path such as `/assets/app.js`, so the
request was treated as HTML and answered with the application's
`index.html` instead of reaching the mounted assets

0.14.2
------
Expand Down
1 change: 0 additions & 1 deletion lib/ember_cli/route_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def mount_ember_app(app_name, to:, **options)
routing_options.reverse_merge!(
controller: "ember_cli/ember",
action: "index",
format: :html,
)

scope constraints: ::EmberCli::EmberConstraint.new do
Expand Down
Loading