wheels 0.1.4 → 0.1.5
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 -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