Change ActivityPub path generation to all happen in ActivityPub::TagManager (#33527)
		
	This commit is contained in:
		
					parent
					
						
							
								53885b0fdb
							
						
					
				
			
			
				commit
				
					
						d517fa5ab7
					
				
			
		
					 9 changed files with 82 additions and 27 deletions
				
			
		|  | @ -38,6 +38,6 @@ class ActivityPub::AddSerializer < ActivityPub::Serializer | |||
|   end | ||||
| 
 | ||||
|   def target | ||||
|     account_collection_url(object.account, :featured) | ||||
|     ActivityPub::TagManager.instance.collection_uri_for(object.account, :featured) | ||||
|   end | ||||
| end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue