mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Generate unique reference in Paper factory
This commit is contained in:
parent
9423847cb1
commit
aa4a6b6958
2 changed files with 7 additions and 1 deletions
|
@ -20,4 +20,10 @@ module FactoryHelper
|
|||
PAPER_TYPES.sample
|
||||
end
|
||||
|
||||
REFERENCE = "A-%05i/16"
|
||||
|
||||
def self.reference(seq)
|
||||
REFERENCE % seq
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue