i18n_rails_helpers 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,10 @@ module ContextualLinkHelpers
25
25
  end
26
26
  end
27
27
 
28
- def contextual_link_to(action, resource_or_model = nil, options = {})
28
+ def contextual_link_to(action, resource_or_model = nil, link_options = {})
29
+ # We don't want to change the passed in link_options
30
+ options = link_options.dup
31
+
29
32
  # Handle both symbols and strings
30
33
  action = action.to_s
31
34
 
@@ -1,3 +1,3 @@
1
1
  module I18nRailsHelpers
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_rails_helpers
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Simon H\xC3\xBCrlimann (CyT)"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-02 00:00:00 Z
18
+ date: 2012-04-03 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Rails i18n view helpers for things like crud actions, models and and attributes.
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  requirements: []
66
66
 
67
67
  rubyforge_project:
68
- rubygems_version: 1.8.15
68
+ rubygems_version: 1.8.10
69
69
  signing_key:
70
70
  specification_version: 3
71
71
  summary: I18n Rails helpers