Class: ActionView::ActiveScaffoldResolver

Inherits:
FileSystemResolver
  • Object
show all
Defined in:
lib/active_scaffold/extensions/action_view_resolver.rb

Instance Method Summary collapse

Instance Method Details

#find_templates(name, prefix, partial, details) ⇒ Object

standard resolvers have a base path to views and append a controller subdirectory activescaffolds view path do not have a subdir, so just remove the prefix



5
6
7
# File 'lib/active_scaffold/extensions/action_view_resolver.rb', line 5

def find_templates(name, prefix, partial, details)
  super(name,'',partial, details)
end