registrar-rails 0.0.9.alpha → 0.0.10.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/registrar/rails/controller_extensions.rb +2 -2
- data/lib/registrar/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86e2bb34e2aa372a9383a57f8e6ae9c5138a251a
|
4
|
+
data.tar.gz: b42c5172789d682263a46a7bf0bae6cdad24760b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ede434276a965df993cc4aef94dc27cbd755aa821c80ef86ed80f6959452b68d2db8efcd1108e8e6587f79e98cc7c602cc8754fbe55c8cfc65be623f14a666e
|
7
|
+
data.tar.gz: 36993a8ebccf7e6e18e146ca62f24ce4344d4dd8b77f8b32032a7fc512575105ed60e61b4f748e1a1dbfe21b30ed5f8923006a00d21304d8be804954773f2631
|
@@ -34,8 +34,8 @@ module Registrar
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def reload_current_profile
|
37
|
-
if
|
38
|
-
env[REGISTRAR_PROFILE_KEY] = Registrar::Middleware::config.handler.call(
|
37
|
+
if current_profile
|
38
|
+
env[REGISTRAR_PROFILE_KEY] = Registrar::Middleware::config.handler.call(current_profile)
|
39
39
|
try_to_store_current_profile
|
40
40
|
end
|
41
41
|
end
|