caboose-cms 0.5.234 → 0.5.235
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/media_categories_controller.rb +1 -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
|
+
ZDI4ODk5NDNkN2EwZmFjYmJjNjU1NGIwMjg2ZGJmMDE4NTAzNWY1YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWU5MTQ3ZmZiZWQ2NzRiYTgzNzcwZTU4ZjFlZDk3OGMyMThhOTAxOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTk5NzVhNjFiOTc5NDg1NDVjZWE2Mzk3YWNkMjkyNDBlZWY0MDBkMmU2OWQ5
|
10
|
+
ZDEyMWQxNGUyNWZlYWM0NjA4NjRmNTZmMjk2YTNlNWM3OTgyYmZiZTEwZmJi
|
11
|
+
MGZlMTgxMDViNzc1Njk5ZTY4MWUwMmYzNjRiMTJiMjc4YWQ3ZmU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODdhOWM1NjY4MWU0NTQwNzg3ODNhMTQ5ZTliYjE4N2U2ZDFmNDYwYTcwNWFk
|
14
|
+
MjdiYjg0MjNhNjhmOGU2NTg2N2E2OTQ4ZThlMTQzYjA4MGI4NzlkMzJmNDM0
|
15
|
+
Mjc3ZjQxNWE0ZDIxZWI5YzllNjJkMDY4ZWQ2OWZkZjdjMzQxYzM=
|
@@ -23,7 +23,7 @@ module Caboose
|
|
23
23
|
prefix = params[:prefix] ? params[:prefix] : '- '
|
24
24
|
tree = Caboose::MediaCategory.flat_tree(@site.id, prefix)
|
25
25
|
options = tree.collect{ |mc| { 'value' => mc[:id], 'text' => mc[:name] }}
|
26
|
-
render :json =>
|
26
|
+
render :json => options
|
27
27
|
end
|
28
28
|
|
29
29
|
# POST /admin/media-categories
|
data/lib/caboose/version.rb
CHANGED