mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-02 23:38:50 +01:00
remove boolean returning ternary expression
This commit is contained in:
parent
c5968b798c
commit
c71dc9afc9
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ class RecurringTodo < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def on_xday(n)
|
||||
every_day && every_day[n, 1] != ' ' ? true : false
|
||||
every_day && every_day[n, 1] != ' '
|
||||
end
|
||||
|
||||
# MONTHLY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue