Open
Description
I use github gem 'rails-backbone', git: 'https://github.com/codebrew/backbone-rails'
in rails 4.2.1. And use rails g backbone:scaffold user username:string phone:string
to generate some file.
But in chrome console show Uncaught TypeError: this.template is not a function
when I open 'http://localhost:3000/users'.
I edit template: JST["backbone/templates/users/index"]
to template: JST["backbone/templates/users/indexx"]
and index file name to 'indexx', it's fine.
so strange.
Metadata
Metadata
Assignees
Labels
No labels