Files
stopwatch/config/routes.rb
2020-04-24 17:20:18 +08:00

11 lines
156 B
Ruby

resources :stopwatch_timers, only: %i(new create edit update) do
collection do
get :current
end
member do
put :start
put :stop
end
end