alchemy_cms 4.1.1 → 4.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/alchemy/admin/locale.rb +1 -1
- data/lib/alchemy/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: db300f6230e8da3eb2bd841e89b07e8eb2b217f7bb6b1e7767a7c4030e3ca32e
|
4
|
+
data.tar.gz: 36e05ea420184ae4da7b5c8cc64df3777aeb0d61d052c6e049a6b9020e4f6543
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96f10788dedab7ceb86f2ed794736ede95bfe0d2141acd37ea93ee3fa439b71f2ad3077851b30521eda58e59896724675f789c1b147552a5a8da26d8fae147f3
|
7
|
+
data.tar.gz: '01380625e93c7fe360bbdc4affc77ee3e876e64a47c36005c34e2e003bb3c847db25198edec337bfcec735b0c056a7554638479cd5c8860d6d6097c080d4e24e'
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 4.1.2 (2019-08-13)
|
2
|
+
|
3
|
+
- Fallback to default locale if unavailable locale requested [#1610](https://github.com/AlchemyCMS/alchemy_cms/pull/1610) ([mamhoff](https://github.com/mamhoff))
|
4
|
+
|
1
5
|
## 4.1.1 (2019-08-09)
|
2
6
|
|
3
7
|
- Fix image gallery individual image CSS height [#1586](https://github.com/AlchemyCMS/alchemy_cms/pull/1586) ([mamhoff](https://github.com/mamhoff))
|
data/lib/alchemy/admin/locale.rb
CHANGED
@@ -28,7 +28,7 @@ module Alchemy
|
|
28
28
|
|
29
29
|
# Checks if we need to change to locale or not.
|
30
30
|
def locale_change_needed?
|
31
|
-
params[:admin_locale].present? || session[:alchemy_locale].blank?
|
31
|
+
params[:admin_locale].present? || session[:alchemy_locale].blank? || available_locale.nil?
|
32
32
|
end
|
33
33
|
|
34
34
|
# Returns either the most preferred locale that is within the list of available locales or nil
|
data/lib/alchemy/version.rb
CHANGED
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: 4.1.
|
4
|
+
version: 4.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2019-08-
|
16
|
+
date: 2019-08-13 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: active_model_serializers
|