sources: rename Sources::Strategies to Source::Extractor.

Rename Sources::Strategies to Source::Extractor. A Source::Extractor
represents a thing that extracts information from a given URL.
This commit is contained in:
evazion
2022-03-24 03:05:10 -05:00
parent 34aa22f90b
commit d9d3c1dfe4
63 changed files with 622 additions and 606 deletions

View File

@@ -2,8 +2,8 @@
<div id="a-index">
<h1>Upload</h1>
<% if policy(@upload).show? && @upload.source_strategy.present? %>
<%= render_source_data(@upload.source_strategy) %>
<% if policy(@upload).show? && @upload.source_extractor.present? %>
<%= render_source_data(@upload.source_extractor) %>
<% end %>
<div class="border-b mb-4 flex flex-wrap gap-4">