translations_ennder 1.1.4 → 1.1.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 +5 -0
- data/version.txt +1 -1
- metadata +4 -4
data/History.txt
CHANGED
@@ -48,6 +48,11 @@ module ActionController
|
|
48
48
|
# Instance methods here
|
49
49
|
|
50
50
|
def set_locale
|
51
|
+
#Il faut une session
|
52
|
+
if session[:session_id].blank?
|
53
|
+
return
|
54
|
+
end
|
55
|
+
|
51
56
|
_param_locale = params[:locale]
|
52
57
|
if (!_param_locale.blank?) and _param_locale.match /^(en|fr)$/
|
53
58
|
#Vient du paramètre de requête
|
data/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.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: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 5
|
10
|
+
version: 1.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ennder
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-28 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|