Only return unique paths
This commit is contained in:
parent
966c7e7f07
commit
fc346d207b
|
@ -159,7 +159,7 @@ class DiscoursePluginRegistry
|
|||
unless Rails.env.test? && ENV['LOAD_PLUGINS'] != "1"
|
||||
seed_path_builders.each { |b| result += b.call }
|
||||
end
|
||||
result
|
||||
result.uniq
|
||||
end
|
||||
|
||||
def javascripts
|
||||
|
|
Loading…
Reference in New Issue