mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
7d89e519a2
UI to accompany the new ACLs APIs
11 lines
321 B
JavaScript
11 lines
321 B
JavaScript
import Service from '@ember/service';
|
|
import builderFactory from 'consul-ui/utils/form/builder';
|
|
const builder = builderFactory();
|
|
export default Service.extend({
|
|
// a `get` method is added via the form initializer
|
|
// see initializers/form.js
|
|
build: function(obj, name) {
|
|
return builder(...arguments);
|
|
},
|
|
});
|