lib/alchemy/hints.rb in alchemy_cms-5.3.8 vs lib/alchemy/hints.rb in alchemy_cms-6.0.0.b1
- old
+ new
@@ -33,10 +33,10 @@
# hint: Lorem ipsum
#
# @return String
#
def hint
- hint = definition["hint"]
+ hint = definition[:hint]
if hint == true
Alchemy.t(hint_translation_attribute, scope: hint_translation_scope)
else
hint
end