diff options
author | David Cabo <david@calibea.com> | 2011-08-22 11:50:46 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2011-08-23 23:41:38 +0200 |
commit | 5eaf28e19e1f5472121ec0490bc854ffb09c1852 (patch) | |
tree | 97db3cc23138e222c154b6e2f2b413a089bb0f66 /app/controllers/admin_public_body_controller.rb | |
parent | c051e602934a8922a4749f21d11b860db0a8b1dc (diff) |
Extend CSV import to support additional fields (short name, home page...)
Diffstat (limited to 'app/controllers/admin_public_body_controller.rb')
-rw-r--r-- | app/controllers/admin_public_body_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin_public_body_controller.rb b/app/controllers/admin_public_body_controller.rb index 021122734..13232024c 100644 --- a/app/controllers/admin_public_body_controller.rb +++ b/app/controllers/admin_public_body_controller.rb @@ -166,7 +166,7 @@ class AdminPublicBodyController < AdminController notes.push("Dry run was successful, real run would do as above.") else # And if OK, with real run - en = PublicBody.import_csv(csv_contents, params[:tag], false, admin_http_auth_user(), available_locales) + en = PublicBody.import_csv(csv_contents, params[:tag], false, admin_http_auth_user(), I18n.available_locales) errors = en[0] notes = en[1] if errors.size != 0 |