site_map 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,12 @@ module SiteMap
3
3
 
4
4
  module ActionController
5
5
 
6
+ def self.included(base)
7
+ if base.respond_to?(:helper_method)
8
+ base.send(:helper_method, :view_node)
9
+ end
10
+ end
11
+
6
12
  protected
7
13
 
8
14
  def view_node
@@ -3,7 +3,7 @@ module SiteMap
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- TINY = 7
6
+ TINY = 8
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: site_map
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Collin Redding