caboose-cms 0.5.50 → 0.5.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/views/caboose/categories/admin_index.html.erb +4 -11
- 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
|
+
MDI4ZTk0NDNhMmZiNTczNThiMWU1MTk4ODIxYTQzZGZmZWM1ZWY0Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzZmYmI1ZDI4NWQyMWQ0YjEwMDY0ZGJjZmQ5YTJmZjE3MjkwOTA3YQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjY0MDMxMzI1Y2NmMTllMmI0NWU4NmRjOWMzYzg2ODU1NjlmZjgyNTllY2Q4
|
10
|
+
ZWYxMjdjNDNiZjk1YjZhNDkzOWIzODM2MWQ1YjRjYzZmN2ZjNDM1YjZhZDBm
|
11
|
+
N2FiYjBkNjMwZWM4MjIxMTM4ZTIzZGM4ZWUxZjFiYzgzYWNhM2Y=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDI2ZDJlY2JhM2VjNTFiNTlmNTg5MjMwMzYwNzRmNTk0ZGI2NmMzZTZjMDcy
|
14
|
+
ZDJmM2Y1YmRlM2ZiZDVmNTA4YWI4ZDg0YWNiNzUyOTU4M2FiZjVlYjEzNWJh
|
15
|
+
M2E3YjI0NWY2ZDQ0MzE0MjdjYTE0ZGQ3ZWU4OTQwNmMwOTNmZTQ=
|
@@ -1,9 +1,4 @@
|
|
1
1
|
<%
|
2
|
-
|
3
|
-
top_cat = Caboose::Category.where("site_id = ? and parent_id is null", @site.id).first
|
4
|
-
if top_cat.nil?
|
5
|
-
top_cat = Category.create(:site_id => @site.id, :name => 'All Products', :url => '/')
|
6
|
-
end
|
7
2
|
|
8
3
|
def category_list(cat)
|
9
4
|
str = "<ul>"
|
@@ -26,9 +21,7 @@ end
|
|
26
21
|
<%= category_list(top_cat) %>
|
27
22
|
|
28
23
|
<% content_for :caboose_js do %>
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
</script>
|
34
|
-
<% end %>
|
24
|
+
<script type='text/javascript'>
|
25
|
+
|
26
|
+
</script>
|
27
|
+
<% end %>
|
data/lib/caboose/version.rb
CHANGED