2013-06-06 21:48:46 +04:00

7 lines
199 B
Ruby

RakeControlWeb::Engine.routes.draw do
resources :tasks, path: '/', only: [:index], constraints: { id: /[a-z0-9_:]+/ } do
member{ get :run }
resources :runs, only: [:index, :show]
end
end