lib/avo/base_resource.rb in avo-2.1.2.pre1 vs lib/avo/base_resource.rb in avo-2.1.2.pre2
- old
+ new
@@ -283,9 +283,12 @@
self.class.translation_key
end
def name
+ # return 'hwhwhw'
+
+
default = class_name_without_resource.titlecase
return @name if @name.present?
return t(translation_key, count: 1, default: default).capitalize if translation_key