fix zone labels when building a new procedure
This commit is contained in:
parent
222f843ddc
commit
92807edd03
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
module ZoneHelper
|
module ZoneHelper
|
||||||
def grouped_options_for_zone(date)
|
def grouped_options_for_zone(date)
|
||||||
|
date ||= Time.zone.now
|
||||||
collectivite = Zone.find_by(acronym: "COLLECTIVITE")
|
collectivite = Zone.find_by(acronym: "COLLECTIVITE")
|
||||||
{
|
{
|
||||||
"--" => [
|
"--" => [
|
||||||
|
|
Loading…
Reference in a new issue