app/models/concerns/weeler/seoable.rb in weeler-1.0.3 vs app/models/concerns/weeler/seoable.rb in weeler-1.0.4
- old
+ new
@@ -52,10 +52,10 @@
end
# Strip, sanitize and truncate text in Rails way
#
def prepare_seoabled_text text, length: 80
- truncate(ActionView::Base.full_sanitizer.sanitize(text).strip, omission: '', length: length)
+ truncate(::ActionView::Base.full_sanitizer.sanitize(text).strip, omission: '', length: length)
end
end
end