mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 20:36:39 +08:00
322a3be2db
Constants should always be only assigned once. The logical OR assignment of a constant is a relic of the past before we used zeitwerk for autoloading and had bugs where a file could be loaded twice resulting in constant redefinition warnings. |
||
---|---|---|
.. | ||
engine | ||
mixins | ||
templates | ||
domain_checker.rb | ||
engine.rb | ||
file_type_finder.rb | ||
helpers.rb | ||
json_ld.rb | ||
layout_support.rb | ||
layout.rb | ||
matcher.rb | ||
movie.rb | ||
normalizer.rb | ||
oembed.rb | ||
open_graph.rb | ||
preview.rb | ||
sanitize_config.rb | ||
status_check.rb | ||
template_support.rb | ||
view.rb |