mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 09:51:57 -04:00
'Start/Stop tracking' on issues#show
This commit is contained in:
@@ -9,3 +9,8 @@ resources :stopwatch_timers, only: %i(new create edit update) do
|
||||
end
|
||||
end
|
||||
|
||||
scope 'issues/:issue_id' do
|
||||
post 'timer/start', to: 'stopwatch_issue_timers#start', as: :start_issue_timer
|
||||
post 'timer/stop', to: 'stopwatch_issue_timers#stop', as: :stop_issue_timer
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user