diff --git a/app/controllers/admin/communication/websites_controller.rb b/app/controllers/admin/communication/websites_controller.rb index 90585acd3658192c978bad678c49364fd47eadd8..34f8f725260ccf0c080e131193510a6a89b59df2 100644 --- a/app/controllers/admin/communication/websites_controller.rb +++ b/app/controllers/admin/communication/websites_controller.rb @@ -85,7 +85,7 @@ class Admin::Communication::WebsitesController < Admin::Communication::Websites: def default_url_options options = {} if @website.present? - options[:lang] = current_website_language.iso_code if @website.languages.many? + options[:lang] = current_website_language.iso_code if @website.languages.any? end options end