mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-01 21:47:16 +00:00
Renaming angular admin.shipping_methods and admin.payment_methods modules
This commit is contained in:
@@ -1 +1 @@
|
||||
angular.module("admin.enterprises", [
|
||||
angular.module("admin.enterprises", [
|
||||
@@ -1,4 +1,4 @@
|
||||
angular.module("admin.payment_methods")
|
||||
angular.module("admin.paymentMethods")
|
||||
.controller "paymentMethodCtrl", ($scope, PaymentMethods) ->
|
||||
$scope.findPaymentMethodByID = (id) ->
|
||||
$scope.PaymentMethod = PaymentMethods.findByID(id)
|
||||
$scope.PaymentMethod = PaymentMethods.findByID(id)
|
||||
|
||||
@@ -1 +1 @@
|
||||
angular.module("admin.payment_methods", [])
|
||||
angular.module("admin.paymentMethods", [])
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
angular.module("admin.payment_methods")
|
||||
angular.module("admin.paymentMethods")
|
||||
.factory "PaymentMethods", (paymentMethods) ->
|
||||
new class PaymentMethods
|
||||
paymentMethods: paymentMethods
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
angular.module("admin.shipping_methods")
|
||||
angular.module("admin.shippingMethods")
|
||||
.controller "shippingMethodsCtrl", ($scope, ShippingMethods) ->
|
||||
$scope.findShippingMethodByID = (id) ->
|
||||
$scope.ShippingMethod = ShippingMethods.findByID(id)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
angular.module("admin.shipping_methods")
|
||||
angular.module("admin.shippingMethods")
|
||||
.factory "ShippingMethods", (shippingMethods) ->
|
||||
new class ShippingMethods
|
||||
shippingMethods: shippingMethods
|
||||
|
||||
@@ -1 +1 @@
|
||||
angular.module("admin.shipping_methods", [])
|
||||
angular.module("admin.shippingMethods", [])
|
||||
|
||||
Reference in New Issue
Block a user