Skip to content

Instantly share code, notes, and snippets.

@mbajur
Created April 27, 2017 08:11
Show Gist options
  • Save mbajur/0ce7553707a8a56052f4bd5f4b8e8653 to your computer and use it in GitHub Desktop.
Save mbajur/0ce7553707a8a56052f4bd5f4b8e8653 to your computer and use it in GitHub Desktop.
json.array! events do |event|
json.id event.id
end
module Api::Views::V1::Events
class Index
include Api::View
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment