activeportal 0.0.1 → 0.0.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
  SHA1:
3
- metadata.gz: 35931bd7510920703c8e3a191b13ff08e966796b
4
- data.tar.gz: 1d8ec44c711996f791d46174a90099fe2d62a4a3
3
+ metadata.gz: b5c1c795ed217ad9f6ec80f0a824c85b79e343a6
4
+ data.tar.gz: 35b0536508d3fdb2642bc47613a7d6bb46b25be8
5
5
  SHA512:
6
- metadata.gz: 7e02b51c0fcce99f4ae011cfc68b68a9252725ee85da1f731a41f2b3e8390694131d330f371112c2bbe1c16ba1ffcf0d83665f62dfd731f7619db584751059a7
7
- data.tar.gz: 9087da81fe876315f0697f3573830aec02c53d71a2ddfddee8a5a25ac744626cf09788b92ce12f0fdbde6d0d5613169eef4e4dbd75ea809b5b0d4de7a11fc620
6
+ metadata.gz: 3847b6e63030808379ff9886a91f6509efd1646c0a24af26cc86a7e5047d9033586bd5c9f91e3ff5d9a52ef0777b65a8527565f06dc6e51f12d7b658c878ec8b
7
+ data.tar.gz: 65b17935e4c403c58abe11fb63f55acbddd3ac5aa167ce97a4ee5c25abb380c4fab3f2bd03f0f682aa29b16ce6f58dbbaff5ab158817820320c8351d02cab082
@@ -3,7 +3,7 @@ module ActivePortal
3
3
  before_action :set_locale
4
4
 
5
5
  def default_url_options(options = {})
6
- options.merge(locale: I18n.locale)
6
+ params[:locale] ? options.merge(locale: I18n.locale) : options
7
7
  end
8
8
 
9
9
  protected
@@ -1,3 +1,3 @@
1
1
  module ActivePortal
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeportal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jozsef Nyitrai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-02 00:00:00.000000000 Z
11
+ date: 2015-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails