Class: Iord::GenericResolver
- Inherits:
-
ActionView::FileSystemResolver
- Object
- ActionView::FileSystemResolver
- Iord::GenericResolver
- Defined in:
- lib/iord/resolver.rb
Instance Method Summary collapse
- #find_templates(name, prefix, partial, details, outside_app_allowed = false) ⇒ Object
-
#initialize(path, prefix) ⇒ GenericResolver
constructor
A new instance of GenericResolver.
Constructor Details
#initialize(path, prefix) ⇒ GenericResolver
Returns a new instance of GenericResolver.
13 14 15 16 |
# File 'lib/iord/resolver.rb', line 13 def initialize(path, prefix) super File.("#{Rails.root}/app/views/#{path}") @prefix = prefix end |
Instance Method Details
#find_templates(name, prefix, partial, details, outside_app_allowed = false) ⇒ Object
18 19 20 |
# File 'lib/iord/resolver.rb', line 18 def find_templates(name, prefix, partial, details, outside_app_allowed = false) super(name, @prefix, partial, details) end |