alchemy_cms 7.2.5 → 7.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf46c4d83e5dd7d012a77672441a70408bbf865f9aa5e3c3b005866fd5fa2a29
4
- data.tar.gz: 9949271d7fd1581902220fe3bc69d81801ab3d34e6a1601da7b873a0a623ae87
3
+ metadata.gz: 5761f973ebc69f26df9000e33ac1116dd900943e4beca826a5cfda2951d4cc09
4
+ data.tar.gz: '0242947c5e00faa5f006713192c28b35996b85202d7ea20557c3a05b56a0879a'
5
5
  SHA512:
6
- metadata.gz: 56404d066fd58edeb6af7c6a612860a44f802a6bc05ba7ab01b7cc46cd0c1a167e83a26c801f958544a16299c72e7e5a556094b076b09e78c2433f0a0a438083
7
- data.tar.gz: e4b58afa15303074db32f10dedb36cdd2fb6dbe1992d619a65b848acf315fb46a0e933da5f2b24a4df7d4578a0df8e76c3e13cc08c499f410ff43299275059f4
6
+ metadata.gz: ddc9484e053fcd6b359449737f3eac7b88def44eaaad1f1bf2f281e7f863829ad1a8fec8848911c2e888dbb66731c523dd53bf5ef1ef5ec55c56540cd5a66e96
7
+ data.tar.gz: 9608c346894b1a9f36d9ffe62da010666405ae97320330921dfdfe5cebb1369cdbe63a77f06a8ef044b3370342a7d0b655c3e64231557b1ae2abf9554defebec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.2.6 (2024-09-04)
4
+
5
+ - [7.2-stable] Set Alchemy::Page.current in Messages Controller [#3021](https://github.com/AlchemyCMS/alchemy_cms/pull/3021) ([tvdeyen](https://github.com/tvdeyen))
6
+ - [7.2-stable] Fallback to @page var if no Current.page is set [#3020](https://github.com/AlchemyCMS/alchemy_cms/pull/3020) ([tvdeyen](https://github.com/tvdeyen))
7
+
3
8
  ## 7.2.5 (2024-09-04)
4
9
 
5
10
  - [7.2-stable] Render Datetime ingredient in local time zone [#3019](https://github.com/AlchemyCMS/alchemy_cms/pull/3019) ([tvdeyen](https://github.com/tvdeyen))
@@ -66,6 +66,7 @@ module Alchemy
66
66
  MessagesMailer.contact_form_mail(@message, mail_to, mail_from, subject).deliver
67
67
  redirect_to_success_page
68
68
  else
69
+ Current.page = @page
69
70
  render template: "alchemy/pages/show"
70
71
  end
71
72
  end
@@ -72,7 +72,7 @@ module Alchemy
72
72
  #
73
73
  def render_elements(options = {}, &blk)
74
74
  options = {
75
- from_page: Current.page,
75
+ from_page: Current.page || @page,
76
76
  render_format: "html"
77
77
  }.update(options)
78
78
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "7.2.5"
4
+ VERSION = "7.2.6"
5
5
 
6
6
  def self.version
7
7
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.5
4
+ version: 7.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen