Sha256: fc8c47d71e80db8edb611d46e73f4e48eb501ce2cceed160a84de237523e8b9e
Contents?: true
Size: 399 Bytes
Versions: 6
Compression:
Stored size: 399 Bytes
Contents
Plug::Engine.routes.draw do root to: 'features#index' # Features resources :features, except: :show # Site notices resources :site_notices, except: :show namespace :api, defaults: { format: :json } do get '/site_notices/:slug', to: 'site_notices#show' get '/site_notices', to: 'site_notices#index' end post '/task', to: 'features#task_execution', as: :task_execution end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
plug-0.1.22 | config/routes.rb |
plug-0.1.21 | config/routes.rb |
plug-0.1.19 | config/routes.rb |
plug-0.1.18 | config/routes.rb |
plug-0.1.16 | config/routes.rb |
plug-0.1.15 | config/routes.rb |