Add cache directives
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
json.(reaction, :id, :content)
|
||||
json.reacter do
|
||||
json.partial! "users/user", user: reaction.reacter
|
||||
json.cache! reaction do
|
||||
json.(reaction, :id, :content)
|
||||
json.reacter do
|
||||
json.partial! "users/user", user: reaction.reacter
|
||||
end
|
||||
json.url card_comment_reaction_url(reaction.comment.card, reaction.comment, reaction)
|
||||
end
|
||||
json.url card_comment_reaction_url(reaction.comment.card, reaction.comment, reaction)
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
json.(step, :id, :content, :completed)
|
||||
json.cache! step do
|
||||
json.(step, :id, :content, :completed)
|
||||
end
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
json.(column, :id, :name, :color)
|
||||
json.created_at column.created_at.utc
|
||||
json.cache! column do
|
||||
json.(column, :id, :name, :color)
|
||||
json.created_at column.created_at.utc
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user