84a59ff059
* Job editing and planning handles namespace as part of ID instead of queryParam * Changelog added * Tests updated to reflect new namespace redirects
10 lines
283 B
JavaScript
10 lines
283 B
JavaScript
import Controller from '@ember/controller';
|
|
import { inject as service } from '@ember/service';
|
|
|
|
export default class RunController extends Controller {
|
|
@service router;
|
|
onSubmit(id, namespace) {
|
|
this.router.transitionTo('jobs.job', `${id}@${namespace || 'default'}`);
|
|
}
|
|
}
|