use discard
This commit is contained in:
parent
674c24c4f7
commit
1ce1c1e6d0
16 changed files with 41 additions and 69 deletions
|
@ -9,10 +9,10 @@ module Manager
|
|||
def scoped_resource
|
||||
if unfiltered_list?
|
||||
# Don't display deleted dossiers in the unfiltered list…
|
||||
Procedure
|
||||
Procedure.kept
|
||||
else
|
||||
# … but allow them to be searched and displayed.
|
||||
Procedure.with_hidden
|
||||
Procedure.with_discarded
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue