instructeurs can create and download archives
This commit is contained in:
parent
609a1aa45b
commit
8b2849408c
10 changed files with 229 additions and 0 deletions
5
app/helpers/archive_helper.rb
Normal file
5
app/helpers/archive_helper.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
module ArchiveHelper
|
||||
def can_generate_archive?(dossiers_termines, poids_total)
|
||||
dossiers_termines.count < 100 && poids_total < 1.gigabyte
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue