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:
parent
6e259a5f25
commit
29107b3429
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in New Issue