diff options
author | re4k <re4k@re4k.info> | 2013-04-30 23:09:54 +0900 |
---|---|---|
committer | re4k <re4k@re4k.info> | 2013-04-30 23:09:54 +0900 |
commit | 10c7c723c16d757b5a5692542911a08715966b6f (patch) | |
tree | 995d9b184bc5f9dc9d3d5819c723d62478e29784 /app/views/shared/tweets.json.jbuilder | |
parent | 617c786764e4c10d85c87945a6c281061e65dcc8 (diff) | |
download | aclog-10c7c723c16d757b5a5692542911a08715966b6f.tar.gz |
refactor (not tested, no compatibility)
Diffstat (limited to 'app/views/shared/tweets.json.jbuilder')
-rw-r--r-- | app/views/shared/tweets.json.jbuilder | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/tweets.json.jbuilder b/app/views/shared/tweets.json.jbuilder index b623a1e..a1776b7 100644 --- a/app/views/shared/tweets.json.jbuilder +++ b/app/views/shared/tweets.json.jbuilder @@ -1,4 +1,4 @@ -json.array! @items do |json, item| - json.partial! "shared/partial/tweet", item: item +json.array! @tweets do |json, tweet| + json.partial! "shared/partial/tweet", tweet: tweet end |