caboose-cms 0.5.233 → 0.5.234
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
|
+
N2Y4NGFmNzQyYzYzODE1MDBkMjEwZThhOTZjNjE1OGQ0MTdiOTJlNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTNjZDNjNWQwYmY3YTQ3ZTk5MDBjYmZlNWI3ODZmZWRhY2U0NDJiYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWE4NDlmMWVjZWY5NGUyN2MxZWM5MmE0ZjRkNDcyZGQyYjE5ZTFkNmViYzI3
|
10
|
+
N2Q4MjAzMWI3YTQzZDA4YmU1ZTJhYzNhY2M3ZTg3YmI1MGMxN2YxNTQ4Yzhi
|
11
|
+
Y2JiYzg5YjhjNDNmNjNkNTdhOGY0M2IwNzcwMGM3MjUzZGU3MWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjY0NTY2MWU0M2YzZjdkOGM1YTBhYmRhNWQzMDc0MjI0MjQ1MzRjMGMyZTEx
|
14
|
+
OWIyNTQwZGI1ZjNhNjg1ZjVjNzAyMDQzZmU4MjM0OGVjMmM1ZDNjYzU0ZjVm
|
15
|
+
MTFmZGY2ZmM1M2YzNjcyYWM1NGI2MTY4NjA5NTkxMjk1ZTRkNTI=
|
@@ -22,7 +22,7 @@ module Caboose
|
|
22
22
|
return unless user_is_allowed('mediacategories', 'view')
|
23
23
|
prefix = params[:prefix] ? params[:prefix] : '- '
|
24
24
|
tree = Caboose::MediaCategory.flat_tree(@site.id, prefix)
|
25
|
-
options = tree.collect{ |mc| { 'value' => mc
|
25
|
+
options = tree.collect{ |mc| { 'value' => mc[:id], 'text' => mc[:name] }}
|
26
26
|
render :json => tree
|
27
27
|
end
|
28
28
|
|
data/lib/caboose/version.rb
CHANGED