• Cory Forsyth's avatar
    Change code to be more idiomatic ember · ef7de978
    Cory Forsyth authored
     * Focus new-todo input on load
     * Use CP's for reamining and completed
     * Add pluralize helper, remove html from controller
     * Add TodoController.removeTodo method
     * We want to avoid debouncing a call to `send`, so we make `removeTodo`
       a method on the controller, and have the `removeTodo` *action* simply
       call that method.
     * Move Todo auto-save from model into controller
    ef7de978
todo_controller.js 1.39 KB