workarea-inventory_notifications 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/config/routes.rb +4 -2
- data/lib/workarea/inventory_notifications/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be2b2e0a046c813701cf2da7d87b77e8a6eb08905f41d6d51524a66ef904148e
|
4
|
+
data.tar.gz: 18d5254aa173c26332b61d7146e047a904616f06c0b537ebdacfec525cc4d088
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a8db7fb45bc850586edce091ed18c613594cdfdab0bffa063416936d2026b531f1f527982c5ad7d0e03d6122c7b80d8be3802055af3fb0023490332fbe5b2aa
|
7
|
+
data.tar.gz: 6f5532d197ea059d2f225195f6afbaf4797658a745b2b52de4bff16becf56b2f9b73dc474dc699b91675807064a0b8cd8bf319f9c0c86c2921dad444099ae4bb
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
Workarea Inventory Notifications 2.1.5 (2020-06-17)
|
2
|
+
--------------------------------------------------------------------------------
|
3
|
+
|
4
|
+
* Scope routes to include locale
|
5
|
+
|
6
|
+
|
7
|
+
Ben Crouse
|
8
|
+
|
9
|
+
|
10
|
+
|
1
11
|
Workarea Inventory Notifications 2.1.4 (2020-06-17)
|
2
12
|
--------------------------------------------------------------------------------
|
3
13
|
|
data/config/routes.rb
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
# end
|
6
6
|
#
|
7
7
|
Workarea::Storefront::Engine.routes.draw do
|
8
|
-
|
9
|
-
|
8
|
+
scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
|
9
|
+
get 'inventory_notifications/:product_id/new' => 'inventory_notifications#new', as: :new_product_inventory_notification
|
10
|
+
post 'inventory_notifications/:product_id' => 'inventory_notifications#create', as: :create_product_inventory_notification
|
11
|
+
end
|
10
12
|
end
|