Sha256: 88c44c28f7053782219902b2e568769c6a3115be0a7cbdbab632eb94927f931c

Contents?: true

Size: 205 Bytes

Versions: 2

Compression:

Stored size: 205 Bytes

Contents

<%= view_namespace %> ||= {}

class <%= view_namespace %>.ShowView extends Backbone.View
  template: JST["<%= jst 'show' %>"]

  render: ->
    $(this.el).html(@template(@model.toJSON() ))
    return this

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
rails-backbone-sp-0.0.1 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-sp-0.0.1 lib/generators/backbone/scaffold/templates/views-sp/show_view.coffee