wheels 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/app/models/sitemap.rb +4 -2
- data/wheels.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.5
|
data/app/models/sitemap.rb
CHANGED
|
@@ -144,8 +144,10 @@ class Sitemap < ActiveRecord::Base
|
|
|
144
144
|
end
|
|
145
145
|
|
|
146
146
|
def treeview_state
|
|
147
|
-
if resource.is_a?(
|
|
148
|
-
"
|
|
147
|
+
if resource.is_a?(Menu)
|
|
148
|
+
"open"
|
|
149
|
+
elsif resource.is_a? Page
|
|
150
|
+
"closed"
|
|
149
151
|
else
|
|
150
152
|
"open"
|
|
151
153
|
end
|
data/wheels.gemspec
CHANGED