1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

chore(plop): fix controller import in template (#3948)

This commit is contained in:
Chaim Lev-Ari 2020-06-22 10:38:22 +03:00 committed by GitHub
parent 7bd3d6e44a
commit 5760648970
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
import {{properCase name}}Controller from './{{dashCase name}}/{{camelCase name}}Controller.js' import {{properCase name}}Controller from './{{camelCase name}}Controller.js'
angular.module('portainer.{{module}}').component('{{camelCase name}}', { angular.module('portainer.{{module}}').component('{{camelCase name}}', {
templateUrl: './{{camelCase name}}.html', templateUrl: './{{camelCase name}}.html',
controller: {{properCase name}}Controller, controller: {{properCase name}}Controller,
}); });