app/helpers/cms/application_helper.rb in tb_cms-1.1.1 vs app/helpers/cms/application_helper.rb in tb_cms-1.1.2

- old
+ new

@@ -20,10 +20,10 @@ end end def sp_list_pages(options = {}) - pages = SpudPage.public.published_pages + pages = SpudPage.viewable.published_pages if Spud::Core.multisite_mode_enabled site_config = Spud::Core.site_config_for_host(request.host_with_port) pages = pages.site(site_config[:site_id]) if !site_config.blank? end