Sha256: 02095e53e913991b39699694307e4b60e951e4801bd15fbae591af61a34dc8fb
Contents?: true
Size: 1.16 KB
Versions: 6
Compression:
Stored size: 1.16 KB
Contents
Avo::Engine.routes.draw do root 'home#index' get '/avo-api/search', to: 'resources#search' get '/avo-api/:resource_name/search', to: 'resources#search' get '/avo-api/:resource_name', to: 'resources#index' get '/avo-api/:resource_name/filters', to: 'resources#filters' get '/avo-api/:resource_name/actions', to: 'actions#index' post '/avo-api/:resource_name/actions', to: 'actions#handle' post '/avo-api/:resource_name', to: 'resources#create' get '/avo-api/:resource_name/fields', to: 'resources#fields' get '/avo-api/:resource_name/:id', to: 'resources#show' get '/avo-api/:resource_name/:id/edit', to: 'resources#edit' put '/avo-api/:resource_name/:id', to: 'resources#update' delete '/avo-api/:resource_name/:id', to: 'resources#destroy' post '/avo-api/:resource_name/:id/attach/:attachment_name/:attachment_id', to: 'resources#attach' post '/avo-api/:resource_name/:id/detach/:attachment_name/:attachment_id', to: 'resources#detach' # Tools get '/avo-tools/resource-overview', to: 'resource_overview#index' # Catch them all get '/:view/(:tool)/(:resource_name)/(:option)', to: 'home#index' end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
avo-0.2.5 | config/routes.rb |
avo-0.2.4 | config/routes.rb |
avo-0.2.3 | config/routes.rb |
avo-0.2.2 | config/routes.rb |
avo-0.2.1 | config/routes.rb |
avo-0.2.0 | config/routes.rb |