sibu 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/sibu/pages_controller.rb +3 -3
- data/lib/sibu/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: 0101b3ab64f75ea0d647d3e6646e180d8c1bc71b
|
4
|
+
data.tar.gz: 0572e9e07002f1150b6cff0f590c58988f094df2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 353c32bac09f0abb8675bf1bdc70650a92027a32597336874a05f6cfb3fe2f7a64db525958e345e170476ced217c5047002f3669d2cef8c589b3c180add61a5f
|
7
|
+
data.tar.gz: 4f820f677c2a284e0947eff654cf4659cc301ecb8c0f5d5caad15c8d5647cb43df361ee22a5271b867da8e6b90b8526f29b08bba7b834e1596818df0600c30bf
|
@@ -15,9 +15,9 @@ module Sibu
|
|
15
15
|
|
16
16
|
def show
|
17
17
|
if params[:site_id].blank?
|
18
|
-
page = Page.lookup(request.domain, params[:path])
|
19
|
-
if page
|
20
|
-
@site = page.site
|
18
|
+
@page = Page.lookup(request.domain, params[:path])
|
19
|
+
if @page
|
20
|
+
@site = @page.site
|
21
21
|
@links = @site.pages_path_by_id
|
22
22
|
view_template = @page ? 'show' : @site.not_found
|
23
23
|
else
|
data/lib/sibu/version.rb
CHANGED