Skip to content
Snippets Groups Projects
Unverified Commit adb49d48 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

hotfix

parent 63dc7153
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ class Admin::Communication::WebsitesController < Admin::Communication::Websites:
def default_url_options
options = {}
options[:lang] = current_website_language.iso_code if @website.present?
options[:lang] = current_website_language.iso_code if @website&.persisted?
options
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment