|
|
|
@ -310,8 +310,8 @@ unless Rails.env.test? |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
if LocalAuthority.count.zero? |
|
|
|
if LocalAuthority.count.zero? |
|
|
|
path = "config/local_authorities_data/initial_local_authorities.csv" |
|
|
|
la_path = "config/local_authorities_data/initial_local_authorities.csv" |
|
|
|
service = Imports::LocalAuthoritiesService.new(path:) |
|
|
|
service = Imports::LocalAuthoritiesService.new(path: la_path) |
|
|
|
service.call |
|
|
|
service.call |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|