Rename cache_* methods to preload_* in controller concern (#30209)
		
	This commit is contained in:
		
					parent
					
						
							
								f0d6dc4519
							
						
					
				
			
			
				commit
				
					
						65e82211cd
					
				
			
		
					 19 changed files with 56 additions and 54 deletions
				
			
		|  | @ -21,11 +21,11 @@ class Api::V1::Timelines::HomeController < Api::V1::Timelines::BaseController | |||
|   private | ||||
| 
 | ||||
|   def load_statuses | ||||
|     cached_home_statuses | ||||
|     preloaded_home_statuses | ||||
|   end | ||||
| 
 | ||||
|   def cached_home_statuses | ||||
|     cache_collection home_statuses, Status | ||||
|   def preloaded_home_statuses | ||||
|     preload_collection home_statuses, Status | ||||
|   end | ||||
| 
 | ||||
|   def home_statuses | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue