A bunch of pagination attributes will be nil if the subsequent/previous pages don't exist
This commit is contained in:
		
							parent
							
								
									9c296f04a9
								
							
						
					
					
						commit
						c9a8a1b29f
					
				| 
						 | 
				
			
			@ -66,19 +66,39 @@ attributes:
 | 
			
		|||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
      <td><p><code>previous_page</code></p></td>
 | 
			
		||||
      <td><p>page number of the previous pagination page</p></td>
 | 
			
		||||
      <td>
 | 
			
		||||
          <p>
 | 
			
		||||
              page number of the previous pagination page,
 | 
			
		||||
              or <code>nil</code> if no previous page exists
 | 
			
		||||
          </p>
 | 
			
		||||
      </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
      <td><p><code>previous_page_path</code></p></td>
 | 
			
		||||
      <td><p>path (including leading "/") of previous pagination page</p></td>
 | 
			
		||||
      <td>
 | 
			
		||||
          <p>
 | 
			
		||||
              path (including leading "/") of previous pagination page,
 | 
			
		||||
              or <code>nil</code> if no previous page exists
 | 
			
		||||
          </p>
 | 
			
		||||
      </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
      <td><p><code>next_page</code></p></td>
 | 
			
		||||
      <td><p>page number of the next pagination page</p></td>
 | 
			
		||||
      <td>
 | 
			
		||||
          <p>
 | 
			
		||||
              page number of the next pagination page,
 | 
			
		||||
              or <code>nil</code> if no subsequent page exists
 | 
			
		||||
          </p>
 | 
			
		||||
      </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
      <td><p><code>next_page_path</code></p></td>
 | 
			
		||||
      <td><p>path (including leading "/") of next pagination page</p></td>
 | 
			
		||||
      <td>
 | 
			
		||||
          <p>
 | 
			
		||||
              path (including leading "/") of next pagination page,
 | 
			
		||||
              or <code>nil</code> if no subsequent page exists
 | 
			
		||||
          </p>
 | 
			
		||||
      </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
  </tbody>
 | 
			
		||||
</table>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue