mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-11-17 11:50:36 -05:00
'Start/Stop tracking' on issues#show
This commit is contained in:
1 parent
bd6711a59f
commit
033e1739d2
22 files changed
+375
-28
No files matched your search
@@ -60,7 +60,9 @@ class StopwatchTimersController < StopwatchController
|
||||
|
||||
def stop
|
||||
r = Stopwatch::StopTimer.new.call
|
||||
unless r.success?
|
||||
if r.success?
|
||||
@stopped_time_entry = @time_entry
|
||||
else
|
||||
logger.error "unable to stop timer"
|
||||
end
|
||||
new unless params[:context]
|
||||
|
||||
Reference in new issue
Block a user