• Athurg Gooth's avatar
    Fix paginator attributes cannot be modified bug · c52f634d
    Athurg Gooth authored
    We can only use SetPaginator to create a pagination.
    
    After that, we always need to modify something, like the totalNum, perPageNum.
    
    These change should be seen in the view.
    
    So we should give the view a pointer than a object.
    c52f634d
controller.go 960 Bytes