Module: ActionDispatch::Routing::BulkHelpers

Included in:
Mapper
Defined in:
lib/bulk/routes.rb

Instance Method Summary collapse

Instance Method Details

#bulk_routes(path) ⇒ Object



3
4
5
6
7
8
# File 'lib/bulk/routes.rb', line 3

def bulk_routes(path)
  get    path => "bulk/api#get"
  post   path => "bulk/api#create"
  put    path => "bulk/api#update"
  delete path => "bulk/api#delete"
end