blob: 960272fe47e5fe430594db691bbaf3658f92e401 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
# WorkItem model inherits from Issue model. It's planned to be its extension
# with widgets support. Because WorkItems are internally Issues, WorkItemsFinder
# can be almost identical to IssuesFinder, except it should return instances of
# WorkItems instead of Issues
module WorkItems
class WorkItemsFinder < IssuesFinder
def params_class
::IssuesFinder::Params
end
private
def model_class
WorkItem
end
end
end
|