DEV: Stop exporting internal routeAction function (#24946)

Consumers should use the default export. This function doesn't work directly (unless you manually construct its arguments) - the default export helper handles all that automatically.
This commit is contained in:
David Taylor 2023-12-19 12:47:22 +00:00 committed by GitHub
parent 6e259a5f25
commit 29107b3429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ function getRouteWithAction(router, actionName) {
return { action, handler };
}
export function routeAction(actionName, router, ...params) {
function routeAction(actionName, router, ...params) {
assert("[ember-route-action-helper] Unable to lookup router", router);
runInDebug(() => {