Skip to content

Instantly share code, notes, and snippets.

@mmurray
Created June 4, 2010 02:30
Show Gist options
  • Save mmurray/424843 to your computer and use it in GitHub Desktop.
Save mmurray/424843 to your computer and use it in GitHub Desktop.
class ReportsController < AppController
before_filter :authenticate
resource "/api/v1/reports(/:id)"
get(:collection) do
end
get(:member) do |id|
end
put(:member) do |id|
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment