Add Tracking to backend_translations_enabled?
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
b86c0d3c30
commit
a5a62b7471
@@ -11,7 +11,7 @@ module TranslatableFormHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
def backend_translations_enabled?
|
def backend_translations_enabled?
|
||||||
(controller.class.parents & [Admin, Management, Valuation]).any?
|
(controller.class.parents & [Admin, Management, Valuation, Tracking]).any?
|
||||||
end
|
end
|
||||||
|
|
||||||
def highlight_translation_html_class
|
def highlight_translation_html_class
|
||||||
|
|||||||
Reference in New Issue
Block a user