app/controllers/caboose/pages_controller.rb in caboose-cms-0.9.88 vs app/controllers/caboose/pages_controller.rb in caboose-cms-0.9.89
- old
+ new
@@ -582,10 +582,10 @@
if params[:site_id] && logged_in_user.is_super_admin?
p = parent_id ? Page.find(parent_id) : Page.index_page(params[:site_id].to_i)
else
p = parent_id ? Page.find(parent_id) : Page.index_page(@site.id)
end
- options = [{ 'value' => ' ' , 'text' => ' ' }]
+ options = []
if p
sitemap_helper(p, options)
end
when 'robots'
options = [