def render_stylesheet_template!(uri_path)
      stylesheet_match = File.join(settings.stylesheets, "*")
      stylesheet_path  = File.expand_path(uri_path, settings.stylesheets)

      return unless File.fnmatch(stylesheet_match, stylesheet_path)

      STYLESHEET_TEMPLATE_ENGINES.each do |engine, extension|
        @preferred_extension = extension.to_s
        find_template(settings.stylesheets, uri_path, engine) do |file|
          next unless File.file?(file)
          halt send(extension, uri_path.to_sym, views: settings.stylesheets)
        end
      end
    end
def render_stylesheet_template!(uri_path)
      stylesheet_match = File.join(settings.stylesheets, "*")
      stylesheet_path  = File.expand_path(uri_path, settings.stylesheets)

      return unless File.fnmatch(stylesheet_match, stylesheet_path)

      STYLESHEET_TEMPLATE_ENGINES.each do |engine, extension|
        @preferred_extension = extension.to_s
        find_template(settings.stylesheets, uri_path, engine) do |file|
          next unless File.file?(file)
          halt send(extension, uri_path.to_sym, views: settings.stylesheets)
        end
      end
    end
Given a URI path, attempts to render a stylesheet template, if it exists, and halt

 @param [String] uri_path
 @see STYLESHEET_TEMPLATE_ENGINES