mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-05 23:41:48 +01:00
rename repeating -> recurring, repeat -> recurrence
This commit is contained in:
parent
ab02d09830
commit
dfe8735c0d
35 changed files with 125 additions and 125 deletions
|
|
@ -129,7 +129,7 @@ class ContextsController < ApplicationController
|
|||
# actions, you'll get a warning dialogue. If you choose to go ahead, any
|
||||
# actions in the context will also be deleted.
|
||||
def destroy
|
||||
# make sure the deleted recurring patterns are removed from associated todos
|
||||
# make sure the deleted recurrence patterns are removed from associated todos
|
||||
@context.recurring_todos.each { |rt| rt.clear_todos_association } unless @context.recurring_todos.nil?
|
||||
|
||||
@context.destroy
|
||||
|
|
|
|||
|
|
@ -23,19 +23,19 @@ module RecurringTodos
|
|||
end
|
||||
|
||||
def daily_pattern
|
||||
@daily_pattern ||= create_pattern(DailyRepeatPattern)
|
||||
@daily_pattern ||= create_pattern(DailyRecurrencePattern)
|
||||
end
|
||||
|
||||
def weekly_pattern
|
||||
@weekly_pattern ||= create_pattern(WeeklyRepeatPattern)
|
||||
@weekly_pattern ||= create_pattern(WeeklyRecurrencePattern)
|
||||
end
|
||||
|
||||
def monthly_pattern
|
||||
@monthly_pattern ||= create_pattern(MonthlyRepeatPattern)
|
||||
@monthly_pattern ||= create_pattern(MonthlyRecurrencePattern)
|
||||
end
|
||||
|
||||
def yearly_pattern
|
||||
@yearly_pattern ||= create_pattern(YearlyRepeatPattern)
|
||||
@yearly_pattern ||= create_pattern(YearlyRecurrencePattern)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue