caboose-cms 0.5.99 → 0.5.100
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/controllers/caboose/orders_controller.rb +7 -0
- data/config/routes.rb +1 -0
- 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
|
+
MmEwNjc2MzEzN2VjMzUxNjEyNGUxZTAwZDIyNGE0ZGVhNzljYjRiOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDRkMjdlNzViZDRkODkzMzU2NDQzOWU1MmNlNmViYzViMjI0NmEzNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzE2MGQ0ODliYWZlMTMzYzc3MDY5YTUzMmM0YWFkNWVhMmNlMzA4ZDFhMjA0
|
10
|
+
YWQyZDA2ZDY4MzNhY2QyNmQ2MTY5N2FhMzUzZTBhYWM1MTZjN2RmN2U1ZDIy
|
11
|
+
ZGZmZTNkMjE0MWQxN2JlMDkxYmY3OGJjOTdlZGFjNzU3YmE0NTA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2RhY2E5OTE3NjExOTk1ZDRkNjkwMGQwZTJlMDA0OWFkOTlhNjgzOTY3MmJl
|
14
|
+
YjM0YTE0OTZlM2RlMGI5M2I4MTFmNDM1OTkxNTljNjA3MzM4MGU4YzM1MmMy
|
15
|
+
NzI2NGRiZjZhYzI0OTM2NTk5NjA2ZWQ3YTM4MzZmODI5ODgzZDc=
|
@@ -1,6 +1,13 @@
|
|
1
1
|
module Caboose
|
2
2
|
class OrdersController < Caboose::ApplicationController
|
3
3
|
|
4
|
+
# GET /admin/orders/weird-test
|
5
|
+
def admin_weird_test
|
6
|
+
Caboose.log("Before the admin_weird_test")
|
7
|
+
@order = Order.new
|
8
|
+
Caboose.log("After the admin_weird_test")
|
9
|
+
end
|
10
|
+
|
4
11
|
# GET /admin/orders
|
5
12
|
def admin_index
|
6
13
|
return if !user_is_allowed('orders', 'view')
|
data/config/routes.rb
CHANGED
@@ -474,6 +474,7 @@ Caboose::Engine.routes.draw do
|
|
474
474
|
# Orders
|
475
475
|
#=============================================================================
|
476
476
|
|
477
|
+
get "/admin/orders/weird-test" => "orders#admin_weird_test"
|
477
478
|
get "/admin/orders" => "orders#admin_index"
|
478
479
|
get "/admin/orders/test-info" => "orders#admin_mail_test_info"
|
479
480
|
get "/admin/orders/test-gmail" => "orders#admin_mail_test_gmail"
|
data/lib/caboose/version.rb
CHANGED