wheels 0.1.6 → 0.1.7
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 +1 -1
- data/wheels.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.7
|
data/app/models/sitemap.rb
CHANGED
@@ -9,7 +9,7 @@ class Sitemap < ActiveRecord::Base
|
|
9
9
|
|
10
10
|
belongs_to :parent, :class_name=>'Sitemap', :foreign_key=>'parent_id'
|
11
11
|
belongs_to :resource, :polymorphic => true
|
12
|
-
|
12
|
+
after_create :create_resource
|
13
13
|
before_destroy :on_before_destroy
|
14
14
|
after_save :reload_root
|
15
15
|
validates :resource, :presence=>true
|
data/wheels.gemspec
CHANGED