wheels 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/models/sitemap.rb +4 -1
- data/wheels.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.8
|
data/app/models/sitemap.rb
CHANGED
@@ -53,7 +53,10 @@ class Sitemap < ActiveRecord::Base
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def create_resource
|
56
|
-
self.
|
56
|
+
if self.resource_type && !self.resource_id
|
57
|
+
self.resource = resource_type.constantize.new
|
58
|
+
self.save
|
59
|
+
end
|
57
60
|
end
|
58
61
|
|
59
62
|
def url
|
data/wheels.gemspec
CHANGED