Sha256: 3879028e8e1b19327435d1bba394d1ee136f08008fab2f010b73e6a101d8b0bc
Contents?: true
Size: 491 Bytes
Versions: 9
Compression:
Stored size: 491 Bytes
Contents
# Not used at the moment # # Extends a standard ActionView::Base view with methods # needed by the view models. # module ViewModels module Extensions module View # # def render_with options render options.to_render_options end # Finds the template in the view paths at the given path, with its format. # def find_template path view_paths.find_template path, template_format rescue nil end end end end
Version data entries
9 entries across 9 versions & 1 rubygems