mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 16:43:40 +08:00
60e624e768
We have a custom implementation of #blank? in our Onebox helpers. This is likely a legacy from when Onebox was a standalone gem. This change replaces all usages with respective incarnations of #blank?, #present?, and #presence from ActiveSupport. It changes a bunch of "unless blank" to "if present" as well. |
||
---|---|---|
.. | ||
engine | ||
domain_checker_spec.rb | ||
engine_spec.rb | ||
helpers_spec.rb | ||
json_ld_spec.rb | ||
layout_spec.rb | ||
matcher_spec.rb | ||
movie_spec.rb | ||
oembed_spec.rb | ||
open_graph_spec.rb | ||
preview_spec.rb | ||
status_check_spec.rb |