hicube 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/hicube/public/pages_controller.rb +1 -1
- data/lib/hicube/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20040afd3aebdf89f21d8ca7a77c612bd2a374f7
|
4
|
+
data.tar.gz: 10476449dd10444d4c98917c40cbb1eaeb7513fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2871d43bc8b72a7c4e89be5ecd4880c4e86d917e567d11ea600da13856ba5c5ba6504f845bdf05dead24767db6c9f81472f64bdc0e239190de26353ab76ce45
|
7
|
+
data.tar.gz: 5575ba864be049c623c33d7016b556dabd835537cfec0fe902152c333c425015982d366b273eda0ae4ced61094058602da4485759e429f718e8dd69cc5735630
|
@@ -49,7 +49,7 @@ module Hicube
|
|
49
49
|
f.write ::Liquid::Template.parse(@page.body).render
|
50
50
|
f.close
|
51
51
|
|
52
|
-
@page_content = ::Slim::Template.new(filename).render
|
52
|
+
@page_content = ::Slim::Template.new(filename).render(Object.new,
|
53
53
|
links: Hicube::Page.parents.map(&:slug),
|
54
54
|
header_links: Hicube::Page.parents.headers.map(&:slug),
|
55
55
|
footer_links: Hicube::Page.parents.footers.map(&:slug),
|
data/lib/hicube/version.rb
CHANGED