diff options
| author | mo khan <mo@mokhan.ca> | 2017-02-18 09:19:04 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2017-02-18 09:19:04 -0700 |
| commit | e113ec03ea4eee8a1bce53348c8fa5673a0ce36d (patch) | |
| tree | 2501414138358f6a1aa7c76fa6b3b60a93019d51 /app/models | |
| parent | 46eecdf8dc0dc8f38a6cab499fc47962a86375b7 (diff) | |
fix the range selection.
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/workout.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/workout.rb b/app/models/workout.rb index 69b6b4d..e2c96b1 100644 --- a/app/models/workout.rb +++ b/app/models/workout.rb @@ -48,4 +48,8 @@ class Workout < ApplicationRecord yield exercise end end + + def display_status_for(exercise) + progress_for(exercise).status + end end |
