Sha256: 05be63a043814494a1a3f6a50b7180bc0aefc6c1b9e0e9cda0586c5f4dc69a32

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

ApiEngine::Engine.routes.draw do

  get '/:model_name/' => 'application#index'
  get '/:model_name/:id' => 'application#show'
  post '/:model_name' => 'application#create'
  put '/:model_name/bulk' => 'application#bulk_update'
  put '/:model_name/:id' => 'application#update'
  delete '/:model_name/bulk' => 'application#bulk_destroy'
  delete '/:model_name/:id' => 'application#destroy'

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
api_engine-0.0.1 config/routes.rb