config/routes.rb in extface-0.0.5 vs config/routes.rb in extface-0.0.6
- old
+ new
@@ -1,12 +1,13 @@
Extface::Engine.routes.draw do
resources :jobs
resources :devices do
resources :jobs, only: [:show]
- get :test_page, on: :member
+ post :test_page, on: :member
end
get ':device_uuid' => 'handler#pull', as: :pull
+ get ':device_uuid/settings' => 'handler#settings', as: :settings
post ':device_uuid' => 'handler#push', as: :push
root 'devices#index'
end