caboose-cms 0.5.172 → 0.5.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/app/controllers/caboose/orders_controller.rb +2 -1
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTg2MmRmZTdjMTg4YzQzZDFiZDNmNjQxMjFmZTM2ZjUyYjQzZDU0Ng==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDBiZmJhNTE0OGE0YjU1MzljZWFjZTA5NWM2MWE4ZDIxMGU0NzY4MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTdlMjQ1NWRmYzVkODg1YTRkZTk4NTI3OTRjZWVhMDQ1ZTExYmRiNTE2YTMy
|
10
|
+
YmRkNjE5ZmUxMTcyZWMxMDY0MmQ3MjI3NTVlNzg3MDM0ZTI5YWI3MTRiNTE4
|
11
|
+
NmJlMGI0NDRlOTQwMmVlOTM0OWIwYjBjYzZlZTllMzhmOGFhNDg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YWUyYjg2ZWMxZWNjNjQ2NTQ4NzAwNDdjMDZkMjQyNjBiNGEwMjcwN2JhNmRi
|
14
|
+
MDNiZDY0ODA1MTBkNjc0NmRkOWFlN2MzNjU0OGU0YmE2NzNiMDM5Nzc2Nzhi
|
15
|
+
MTEyZmIyMWFiYWEwMzIyZjdhOWIxZTMyYzUyNWJhYmU0YzY2OWU=
|
@@ -172,7 +172,8 @@ module Caboose
|
|
172
172
|
|
173
173
|
# GET /admin/orders/:id/send-for-authorization
|
174
174
|
def admin_send_for_authorization
|
175
|
-
return if !user_is_allowed('orders', 'edit')
|
175
|
+
return if !user_is_allowed('orders', 'edit')
|
176
|
+
order = Order.find(params[:id])
|
176
177
|
OrdersMailer.configure_for_site(@site.id).delay.customer_payment_authorization(order)
|
177
178
|
render :json => { :success => true }
|
178
179
|
end
|
data/lib/caboose/version.rb
CHANGED