```coffeescript
App = require '../app'

Book = require './model'

App.PriceChartView = require './price-chart'

# App.BookRoute = Ember.Route.extend
#   serialize: (model) ->
#     book_id: model._id

App.BookController = Ember.ObjectController.extend
  deleteBook: ->
    title = @get('model').get('title')

    @get('model').one 'didDelete', =>
      alert "#{title} deleted."
      @transitionToRoute 'books'

    @get('model').deleteRecord()
    @get('store').commit()

module.exports = App.BookController```

Make Books Page Load Faster
user
```coffeescript
App = require '../app'

Book = require './model'

App.PriceChartView = require './price-chart'

App.BookRoute = Ember.Route.extend
  model: (params) ->
    Book.find(params.book_id)

App.BookController = Ember.ObjectController.extend
  deleteBook: ->
    title = @get('model').get('title')

    @get('model').one 'didDelete', =>
      alert "#{title} deleted."
      @transitionToRoute 'books'

    @get('model').deleteRecord()
    @get('store').commit()

module.exports = App.BookController```
assistant