translations_ennder 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/lib/translations_ennder/rails.rb +1 -1
- data/version.txt +1 -1
- metadata +3 -3
data/History.txt
CHANGED
@@ -31,7 +31,7 @@ module ActionController
|
|
31
31
|
|
32
32
|
def set_locale
|
33
33
|
_param_locale = params[:locale]
|
34
|
-
if (!_param_locale.blank?) and _param_locale.match /^(en|fr)$/
|
34
|
+
if (!_param_locale.blank?) and _param_locale.match /^(en|fr)$/
|
35
35
|
#Vient du paramètre de requête
|
36
36
|
I18n.locale = _param_locale
|
37
37
|
elsif session[:locale].blank? and (! request.env['HTTP_ACCEPT_LANGUAGE'].blank?)
|
data/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.5
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: translations_ennder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 5
|
10
|
+
version: 1.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ennder
|