trusty-cms 7.0.16 → 7.0.17
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 +4 -4
- data/Gemfile.lock +1 -1
- data/app/helpers/admin/pages_helper.rb +4 -2
- data/config/initializers/devise.rb +1 -1
- data/lib/trusty_cms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dccb8f8143fd278e3cdaebdb026956caa47eddce01ab5fb347538d453b14ef8a
|
4
|
+
data.tar.gz: 8d6a377ca301e09378de096ec6e6bd73348dbbc2c986c33d629d165c5ca4d4c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a5cc1d5e0cb194b5ccbfa10850bb87507d32116be68510180d310fd1886ebad1f79ca9a9ce1d63027d0b74b6d639be44ae4efd4a3b04d8f21ee9f502e71b786
|
7
|
+
data.tar.gz: fdcf3b0aa878a563c9f9f6ba8b06ecf987fb3061246c8e5222aef582aa06dea0eea1020a6f17dfccb41a25d6b2239c9eb4a622d2513d611ca6abad5630d49d08
|
data/Gemfile.lock
CHANGED
@@ -19,8 +19,10 @@ module Admin::PagesHelper
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def parent_page_options(current_site, page)
|
22
|
-
parent_pages =
|
23
|
-
|
22
|
+
parent_pages = []
|
23
|
+
parent_pages.concat(Page.parent_pages(current_site.homepage_id))
|
24
|
+
parent_pages << page.parent if page.parent
|
25
|
+
selected_page_id = page.parent_id
|
24
26
|
options_for_select(parent_pages.map { |p| [p.title, p.id] }, selected_page_id)
|
25
27
|
end
|
26
28
|
end
|
@@ -251,7 +251,7 @@ Devise.setup do |config|
|
|
251
251
|
|
252
252
|
# Set this configuration to false if you want /users/sign_out to sign out
|
253
253
|
# only the current scope. By default, Devise signs out all scopes.
|
254
|
-
config.sign_out_all_scopes =
|
254
|
+
config.sign_out_all_scopes = true
|
255
255
|
|
256
256
|
# ==> Navigation configuration
|
257
257
|
# Lists the formats that should be treated as navigational. Formats like
|
data/lib/trusty_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TrustyCms CMS dev team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activestorage-validator
|