mirror of
https://github.com/status-im/consul.git
synced 2025-01-24 12:40:17 +00:00
97b645a745
* ui: Apply native class codemod to all services * ui: Apply native class codemod to routes * ui: Apply native class codemod to controllers * Fix up ember proxy `content` issue * Add a CreateTime on policy creation * Minor formatting * Convert child based saving to use ec instead of custom approach * Remove custom event source repo wrapping initializer * Repos here are no longer proxy objects revert to using them normally * Remove areas of code that were used to set up source backed repos
16 lines
575 B
JavaScript
16 lines
575 B
JavaScript
import Route from './edit';
|
|
import CreatingRoute from 'consul-ui/mixins/creating-route';
|
|
|
|
export default class CreateRoute extends Route.extend(CreatingRoute) {
|
|
templateName = 'dc/nspaces/edit';
|
|
|
|
beforeModel() {
|
|
// we need to skip CreatingRoute.beforeModel here
|
|
// TODO(octane): ideally we'd like to call Route.beforeModel
|
|
// but its not clear how to do that with old ember
|
|
// maybe it will be more normal with modern ember
|
|
// up until now we haven't been calling super here anyway
|
|
// so this is probably ok until we can skip a parent super
|
|
}
|
|
}
|