caboose-cms 0.8.22 → 0.8.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/caboose/pages_controller.rb +1 -1
- data/lib/caboose/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: 04babeb3481e1edadccc8c132eb1c7409c2f368a
|
4
|
+
data.tar.gz: 113cfbb71e45cc6b767f41c041cc4b9058b4108a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f37dd6e8abf32c8b9d958127e20c2640d70fc0a25a3016c9761b23cf6b40881cd994692a83ea38e4f1a445b288efa3dd3ffb99b523ed6a2660bc7290f55109cb
|
7
|
+
data.tar.gz: 57eec1e4319bf58e2ffaf0b9e812c05cd69c3b75051e97f513907b2fa81dc3e7ebd88a9ff49f9ebd4084989d11a6fb67c4f9857f606e39ff15c3824cd6688bf1
|
@@ -552,7 +552,7 @@ module Caboose
|
|
552
552
|
when 'sitemap'
|
553
553
|
parent_id = params[:parent_id]
|
554
554
|
p = nil
|
555
|
-
if params[:site_id] &&
|
555
|
+
if params[:site_id] && logged_in_user.is_super_admin?
|
556
556
|
p = parent_id ? Page.find(parent_id) : Page.index_page(params[:site_id].to_i)
|
557
557
|
else
|
558
558
|
p = parent_id ? Page.find(parent_id) : Page.index_page(@site.id)
|
data/lib/caboose/version.rb
CHANGED