This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Caching should work correctly now (fingers crossed)
closed-social-v3
Eugen Rochko
8 years ago
parent
562044f36a
commit
c003e70758
4 changed files
with
3 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/views/api/v1/accounts/relationship.rabl
+1
-1
app/views/api/v1/accounts/show.rabl
+0
-1
app/views/api/v1/statuses/context.rabl
+1
-1
app/views/api/v1/statuses/show.rabl
+ 1
- 1
app/views/api/v1/accounts/relationship.rabl
View File
@ -1,5 +1,5 @@
object @account
cache false
attribute :id
node(:following) { |account| @following[account.id] || false }
node(:followed_by) { |account| @followed_by[account.id] || false }
+ 1
- 1
app/views/api/v1/accounts/show.rabl
View File
@ -1,5 +1,5 @@
object @account
cache
false
cache
attributes :id, :username, :acct, :display_name, :note
+ 0
- 1
app/views/api/v1/statuses/context.rabl
View File
@ -1,5 +1,4 @@
object @context
cache false
node :ancestors do |context|
partial 'api/v1/statuses/index', object: context.ancestors
+ 1
- 1
app/views/api/v1/statuses/show.rabl
View File
@ -1,5 +1,5 @@
object @status
cache
false
cache
extends 'api/v1/statuses/_show'
Write
Preview
Loading…
Cancel
Save