You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I use github
gem 'rails-backbone', git: 'https://github.com/codebrew/backbone-rails'
in rails 4.2.1. And userails 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"]
totemplate: JST["backbone/templates/users/indexx"]
and index file name to 'indexx', it's fine.so strange.
The text was updated successfully, but these errors were encountered: