RubyGems
npm
Organizations
Log in
Sign up
RubyGems
site_map
Versions diffs
0.2.7 → 0.2.8
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.
Files changed (3)
hide
show
data/lib/site_map/helpers/action_controller.rb
+6
-0
data/lib/site_map/version.rb
+1
-1
metadata
+1
-1
data/lib/site_map/helpers/action_controller.rb
CHANGED
Viewed
@@ -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
data/lib/site_map/version.rb
CHANGED
Viewed
@@ -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
Viewed
@@ -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