caboose-cms 0.4.75 → 0.4.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/app/controllers/caboose/pages_controller.rb +3 -6
- 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
|
+
N2Y3YmE1NTY2MGQ1NjUwOTBjN2Y2NTVlNDdjYjRkNWI5NDJiZTE0Mw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZDc5Y2Y5ZWUxZjY1MDc4ZTRmNzM2ZThjNWI5MWYwODhjZjMyODkxZQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZGJjYjI2M2IyZGYxYTE3YmFkZDhmYTY2YzZiM2Y2OGEyYjI3MGNmZjM1YjVl
|
|
10
|
+
MTFhNDU2MGE5NWU3ZTc0NTYwYTQ0NmNmZTkxYTMzODE2NThmZDkxMjE1ODQw
|
|
11
|
+
MDMzOTk1YzViZjExZDE3MjFhNDMzY2EwZjA3MzQ4ZDI1ZWRmODg=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NGI3MGVhZmI4ODI4MzA4OGZiNGI2MDU0OTliNjU4MTZlNjA5NmY1ZGVmNDEy
|
|
14
|
+
NjkxMTUyZDZhMzMwZjU1Y2Q3ZGI3MmYzODhlOWRlYTM1NDgyZTlhNjgxZDhk
|
|
15
|
+
NDY5M2Q0MzM5YzAxMDA2MWFjOWY4NjE5Y2ZlMmFjZGFhZTAyY2M=
|
|
@@ -446,13 +446,10 @@ module Caboose
|
|
|
446
446
|
|
|
447
447
|
# GET /admin/pages/sitemap-options
|
|
448
448
|
def admin_sitemap_options
|
|
449
|
-
parent_id = params[:parent_id]
|
|
450
|
-
|
|
451
|
-
top_page = Page.index_page(d.site_id)
|
|
452
|
-
p = !parent_id.nil? ? Page.find(parent_id) : top_page
|
|
449
|
+
parent_id = params[:parent_id]
|
|
450
|
+
p = parent_id ? Page.find(parent_id) : Page.index_page(@site.id)
|
|
453
451
|
options = []
|
|
454
|
-
sitemap_helper(
|
|
455
|
-
|
|
452
|
+
sitemap_helper(p, options)
|
|
456
453
|
render :json => options
|
|
457
454
|
end
|
|
458
455
|
|
data/lib/caboose/version.rb
CHANGED