leather 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  module NavigationHelper
2
2
  def active_class(href, options)
3
- if (@current_navs.present? && options[:current_nav].present? && @current_navs[options[:current_nav][0]] == options[:current_nav][1]) || current_page?(href)
3
+ if (@current_navs.present? && options[:nav_id].present? && @current_navs[options[:nav_id][0]] == options[:nav_id][1]) || current_page?(href)
4
4
  'active'
5
5
  else
6
6
  ''
@@ -1,3 +1,3 @@
1
1
  module Leather
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leather
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -189,7 +189,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
189
  version: '0'
190
190
  segments:
191
191
  - 0
192
- hash: -214643346293144590
192
+ hash: -2330564349135454152
193
193
  required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  none: false
195
195
  requirements:
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  version: '0'
199
199
  segments:
200
200
  - 0
201
- hash: -214643346293144590
201
+ hash: -2330564349135454152
202
202
  requirements: []
203
203
  rubyforge_project:
204
204
  rubygems_version: 1.8.24