• Dmitriy Zaporozhets's avatar
    Merge branch 'add-pagination-headers-to-api' into 'master' · 0eef8276
    Dmitriy Zaporozhets authored
    Add pagination headers to already paginated API resources
    
    Following #3045, I've added pagination headers using already available Kaminari methods.
    
    ## Pagination headers in action
    
    ![Screen_Shot_2016-01-14_at_12.14.53](/uploads/88807f754dd9aafbb24da85f6bdf9521/Screen_Shot_2016-01-14_at_12.14.53.png)
    
    ---
    
    I've also added a shared example to test paginated API resources.
    
    A possible next step would be to paginate all the API resources that return an array.
    
    See merge request !2426
    0eef8276
To find the state of this project's repository at the time of any of these versions, check out the tags.
CHANGELOG 104 KB