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:
@@ -1,6 +1,11 @@
|
||||
en:
|
||||
label_stopwatch_start: Start tracking
|
||||
label_stopwatch_stop: Stop tracking
|
||||
stopwatch:
|
||||
settings:
|
||||
label_always_ask: 'Always ask'
|
||||
label_default_activity: 'Default activity for "Start tracking"'
|
||||
label_system: 'Use system default'
|
||||
stopwatch_timers:
|
||||
entries_list:
|
||||
button_stop: Stop
|
||||
|
||||
@@ -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