mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
REFACTOR: Support bundling our admin section as an ember addon
This commit is contained in:
13
app/assets/javascripts/admin/addon/routes/admin-api-keys.js
Normal file
13
app/assets/javascripts/admin/addon/routes/admin-api-keys.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import Route from "@ember/routing/route";
|
||||
|
||||
export default Route.extend({
|
||||
actions: {
|
||||
show(apiKey) {
|
||||
this.transitionTo("adminApiKeys.show", apiKey.id);
|
||||
},
|
||||
|
||||
new() {
|
||||
this.transitionTo("adminApiKeys.new");
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user