diff options
Diffstat (limited to 'app/views/pms/index.json.jbuilder')
-rw-r--r-- | app/views/pms/index.json.jbuilder | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/pms/index.json.jbuilder b/app/views/pms/index.json.jbuilder new file mode 100644 index 0000000..fcfca84 --- /dev/null +++ b/app/views/pms/index.json.jbuilder @@ -0,0 +1,4 @@ +json.array!(@pms) do |pm| + json.extract! pm, :id, :author_id, :recipient_id, :message + json.url pm_url(pm, format: :json) +end |