_updateFilter(currentPage){
        // Store a reference to the active route, allowing us to re-filter todo
        // items as they are marked complete or incomplete.
        this._activeRoute = currentPage;

        if (currentPage === '') {
            this._activeRoute = 'All';
        }

        this._filter();

        this.view.render('setFilter', currentPage);
    }
/**
     * Simply updates the filter nav's selected states
     */
Simply updates the filter nav's selected states
Simply updates the filter nav ' s selected states
_updateFilter(currentPage){
        this._activeRoute = currentPage;
        if (currentPage === '') {
            this._activeRoute = 'All';
        }
        this._filter();
        this.view.render('setFilter', currentPage);
    }
_updateFilter ( currentPage ) { this . _activeRoute = currentPage ; if ( currentPage === '' ) { this . _activeRoute = 'All' ; } this . _filter ( ) ; this . view . render ( 'setFilter' , currentPage ) ; }
Simply updates the filter nav's selected states
Simply updates the filter nav ' s selected states
// Store a reference to the active route, allowing us to re-filter todo // items as they are marked complete or incomplete.