Skip to content
Snippets Groups Projects
Commit 23951b16 authored by pabois's avatar pabois
Browse files

remove last scope languages

parent b4c09a4c
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ end if @page.featured_image.attached?
language = @page.language
json.language do
json.extract! language, :id, :name, :iso_code, :summernote_locale
json.label t(language.iso_code, scope: :languages)
json.label language_name(language.iso_code)
end
original = @page.original
......
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