Adding public timeline
This commit is contained in:
		
							parent
							
								
									06016453bd
								
							
						
					
					
						commit
						1f650d327d
					
				
					 21 changed files with 229 additions and 71 deletions
				
			
		|  | @ -1,2 +0,0 @@ | |||
| collection @statuses | ||||
| extends('api/v1/statuses/show') | ||||
|  | @ -6,8 +6,8 @@ node(:content)          { |status| Formatter.instance.format(status) } | |||
| node(:url)              { |status| TagManager.instance.url_for(status) } | ||||
| node(:reblogs_count)    { |status| status.reblogs_count } | ||||
| node(:favourites_count) { |status| status.favourites_count } | ||||
| node(:favourited)       { |status| current_account.favourited?(status) } | ||||
| node(:reblogged)        { |status| current_account.reblogged?(status) } | ||||
| node(:favourited, if: proc { !current_account.nil? }) { |status| current_account.favourited?(status) } | ||||
| node(:reblogged,  if: proc { !current_account.nil? }) { |status| current_account.reblogged?(status) } | ||||
| 
 | ||||
| child :reblog => :reblog do | ||||
|   extends('api/v1/statuses/show') | ||||
|  |  | |||
		Reference in a new issue