2023-03-15 09:17:51 -04:00
|
|
|
import { action } from "@ember/object";
|
2019-10-23 12:39:32 -04:00
|
|
|
import Route from "@ember/routing/route";
|
2015-11-20 20:27:06 -05:00
|
|
|
|
2023-03-15 09:17:51 -04:00
|
|
|
export default class AdminApiKeysRoute extends Route {
|
|
|
|
@action
|
|
|
|
show(apiKey) {
|
|
|
|
this.transitionTo("adminApiKeys.show", apiKey.id);
|
|
|
|
}
|
2019-11-05 09:10:23 -05:00
|
|
|
|
2023-03-15 09:17:51 -04:00
|
|
|
@action
|
|
|
|
new() {
|
|
|
|
this.transitionTo("adminApiKeys.new");
|
|
|
|
}
|
|
|
|
}
|