mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Angularising Admin enterprises form
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
angular.module("admin.enterprises")
|
||||
.controller "enterpriseCtrl", ($scope, Enterprise) ->
|
||||
$scope.enterprise = Enterprise.enterprise
|
||||
@@ -0,0 +1 @@
|
||||
angular.module("admin.enterprises", [])
|
||||
@@ -0,0 +1,4 @@
|
||||
angular.module("admin.enterprises")
|
||||
.factory 'Enterprise', (enterprise) ->
|
||||
new class Enterprise
|
||||
enterprise: enterprise
|
||||
Reference in New Issue
Block a user