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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fed96d1786844619209e87b7122670b11aba378f6cc926bdd513193a7e0f292
4
- data.tar.gz: fc7ee1384688e1357adb6c5203b437dcae1a9ef6bafef4e904f9b9fcb5b9b2e1
3
+ metadata.gz: db300f6230e8da3eb2bd841e89b07e8eb2b217f7bb6b1e7767a7c4030e3ca32e
4
+ data.tar.gz: 36e05ea420184ae4da7b5c8cc64df3777aeb0d61d052c6e049a6b9020e4f6543
5
5
  SHA512:
6
- metadata.gz: 7e25e2530f4fc1e666e8f9f1ff6b708e195902a9e3a5b22ac2f2382299c0a25a985e97ea61521a5519689677e1de86e8deeb57be7bf1c5e1f77733cefa1be8c6
7
- data.tar.gz: 4f3fcf94e5bee4e746559eb79e24f8db950759cf4ffdb0358e4431f4c8c5f0f1ef8f22146cfbeef8c3491eb02f83b36d83ae4fcafc09d4b2a4e129b8715441b2
6
+ metadata.gz: 96f10788dedab7ceb86f2ed794736ede95bfe0d2141acd37ea93ee3fa439b71f2ad3077851b30521eda58e59896724675f789c1b147552a5a8da26d8fae147f3
7
+ data.tar.gz: '01380625e93c7fe360bbdc4affc77ee3e876e64a47c36005c34e2e003bb3c847db25198edec337bfcec735b0c056a7554638479cd5c8860d6d6097c080d4e24e'
@@ -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))
@@ -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
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "4.1.1"
4
+ VERSION = "4.1.2"
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: 4.1.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-09 00:00:00.000000000 Z
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