Fix unpermitted parameters warning when generating pagination URLs (#6995)
This commit is contained in:
		
					parent
					
						
							
								123a343d11
							
						
					
				
			
			
				commit
				
					
						33513753b9
					
				
			
		
					 17 changed files with 17 additions and 17 deletions
				
			
		|  | @ -76,7 +76,7 @@ class Api::V1::StatusesController < Api::BaseController | |||
|   end | ||||
| 
 | ||||
|   def pagination_params(core_params) | ||||
|     params.permit(:limit).merge(core_params) | ||||
|     params.slice(:limit).permit(:limit).merge(core_params) | ||||
|   end | ||||
| 
 | ||||
|   def authorize_if_got_token | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue