ProcedureOverview: add object to contain overview logic
This commit is contained in:
parent
98a616c115
commit
e7d39ca650
3 changed files with 172 additions and 0 deletions
|
@ -141,4 +141,7 @@ class Procedure < ActiveRecord::Base
|
|||
}
|
||||
end
|
||||
|
||||
def procedure_overview(start_date, notifications_count)
|
||||
ProcedureOverview.new(self, start_date, notifications_count)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue