lib/blacklight/configuration/field.rb in blacklight-7.14.0 vs lib/blacklight/configuration/field.rb in blacklight-7.14.1
- old
+ new
@@ -42,10 +42,10 @@
)
end
def default_label
if self.key.respond_to?(:titleize)
- self.key.try(:titleize)
+ self.key.titleize
else
self.key.to_s.titleize
end
end