def filtered_widgets_templates
      if MnoEnterprise.widgets_templates_listing
        return self.widgets_templates.select do |t|
          MnoEnterprise.widgets_templates_listing.include?(t[:path])
        end
      else
        return self.widgets_templates
      end
    end
def filtered_widgets_templates
      if MnoEnterprise.widgets_templates_listing
        return self.widgets_templates.select do |t|
          MnoEnterprise.widgets_templates_listing.include?(t[:path])
        end
      else
        return self.widgets_templates
      end
    end
def filtered_widgets_templates if MnoEnterprise . widgets_templates_listing return self . widgets_templates . select do | t | MnoEnterprise . widgets_templates_listing . include? ( t [ :path ] ) end else return self . widgets_templates end end
Filter widgets list based on config
Filter widgets list based on config