Sha256: 0751a8f1a69b1984d1b701bf41bad0885057857177685f839eb16d55d2d0f9da
Contents?: true
Size: 687 Bytes
Versions: 1
Compression:
Stored size: 687 Bytes
Contents
module ActionView class ActiveScaffoldResolver < FileSystemResolver # 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 # > rails 3.2.22 uses an additional fifth parameter def find_templates(name, prefix, partial, details, outside_app_allowed = false) if (::Rails::VERSION::MAJOR >= 4 && ::Rails::VERSION::MINOR > 0) || (::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR == 2 && ::Rails::VERSION::TINY >= 22) super(name,'',partial, details, outside_app_allowed) else super(name,'',partial, details) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_scaffold_vho-4.0.0 | lib/active_scaffold/extensions/action_view_resolver.rb |