Sha256: ea284e5a319612443fcd46519e33797c1d262ecd77c8802375f18f23de8f26e1
Contents?: true
Size: 587 Bytes
Versions: 9
Compression:
Stored size: 587 Bytes
Contents
module Iord class Resolver < ::ActionView::FileSystemResolver def initialize super File.expand_path(File.dirname(__FILE__) + '/../../app/views') end def find_templates(name, prefix, partial, details) super(name, 'iord', partial, details) end end class GenericResolver < ::ActionView::FileSystemResolver def initialize(path, prefix) super File.expand_path("#{Rails.root}/app/views/#{path}") @prefix = prefix end def find_templates(name, prefix, partial, details) super(name, @prefix, partial, details) end end end
Version data entries
9 entries across 9 versions & 1 rubygems