mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-06 01:08:50 +01:00
Rename RecurringTodo#inc_occurences to increment_occurrences
This clarifies the method name and fixes a typo.
This commit is contained in:
parent
1431bef1a9
commit
036c34f266
3 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ class TodoFromRecurringTodo
|
|||
end
|
||||
|
||||
def update_recurring_todo
|
||||
recurring_todo.inc_occurences
|
||||
recurring_todo.increment_occurrences
|
||||
recurring_todo.toggle_completion! if recurring_todo.done?(end_date)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue