Sha256: e822cec43672cca30128716728f670f5068f2d29dbc621cda373883766ad0483
Contents?: true
Size: 641 Bytes
Versions: 11
Compression:
Stored size: 641 Bytes
Contents
module <%= object.app_name %> class <%= object.name_as_class %>View < Vedeu::ApplicationView def render Vedeu.renders do # Build up the view programmatically... # # view '<%= object.name %>' do # lines do # line 'some content...' # end # end # ...or use the template in 'app/views/templates/<%= object.name %>' # template_for('<%= object.name %>', template('<%= object.name %>'), object, options) end end private def options {} end end end
Version data entries
11 entries across 11 versions & 1 rubygems