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

Merge pull request #1555 from noesya/fix-diploma-block

Fix editing block with untranslatable about
parents 2c178e15 d4ee5767
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ class Communication::Block < ApplicationRecord
end
def is_a_translation?
about.is_a_translation?
about.respond_to?(:is_a_translation?) && about.is_a_translation?
end
def translate!(about_translation, heading_id = nil)
......
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