Sha256: c26b40320a3bd90924efd31ef0a994c3ec35cb53ef98da242ecb65978642fea7
Contents?: true
Size: 380 Bytes
Versions: 2
Compression:
Stored size: 380 Bytes
Contents
require 'nesta/overrides' module Nesta module Overrides private 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 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nesta-contentfocus-extensions-0.0.3 | lib/nesta-contentfocus-extensions/overrides.rb |
nesta-contentfocus-extensions-0.0.2 | lib/nesta-contentfocus-extensions/overrides.rb |