Sha256: dd33ec76273ad2e3acba0b48275987be7c964a7d7f6a229501b73a2741635f18
Contents?: true
Size: 645 Bytes
Versions: 1
Compression:
Stored size: 645 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, outside_app_allowed = false) 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, outside_app_allowed = false) super(name, @prefix, partial, details) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iord-1.2.2 | lib/iord/resolver.rb |