fix issue count
This commit is contained in:
parent
017dfaee65
commit
958497fecb
2 changed files with 6 additions and 2 deletions
|
@ -33,6 +33,10 @@ class Issue < ActiveRecord::Base
|
|||
|
||||
acts_as_list
|
||||
|
||||
def self.open_for(user)
|
||||
opened.assigned(user)
|
||||
end
|
||||
|
||||
def today?
|
||||
Date.today == created_at.to_date
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue