我已經用Backbone.js命中了頭部劃痕。該示例在jsfiddle here上。我認爲這個問題是在這裏: App.Layout = new Backbone.Layout({
// Attach the Layout to the main container.
collection: App.chapters,
el: "body",
initialize: function() {
如何從一個Marionette控制器重定向到另一個路由?例如: var controller = new MyAccountController({
myAccountView: new MyAccountView({
el: 'body'
})
});
var router = new MyAccountRouter({
controller: c