module Nesta::Overrides
Private Class Methods
render_options(template, *engines)
click to toggle source
# File lib/nesta-contentfocus-extensions/overrides.rb, line 6 def self.render_options(template, *engines) Nesta::ContentFocus::Paths.view_paths.each do |path| engines.each do |engine| if template_exists?(engine, path, template) return { views: path }, engine end end end [{}, :sass] end