Small optimizations in Atom feeds
This commit is contained in:
		
					parent
					
						
							
								19a259915e
							
						
					
				
			
			
				commit
				
					
						7e00a21ea6
					
				
			
		
					 5 changed files with 6 additions and 4 deletions
				
			
		|  | @ -7,7 +7,7 @@ class AccountsController < ApplicationController | |||
|   def show | ||||
|     respond_to do |format| | ||||
|       format.html { @statuses = @account.statuses.order('id desc').with_includes.with_counters.paginate(page: params[:page], per_page: 10)} | ||||
|       format.atom | ||||
|       format.atom { @entries  = @account.stream_entries.order('id desc').with_includes } | ||||
|     end | ||||
|   end | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue