uploads: removed unused /uploads/preprocess route.
This commit is contained in:
@@ -18,7 +18,6 @@ class Upload < ApplicationRecord
|
|||||||
after_create :async_process_upload!
|
after_create :async_process_upload!
|
||||||
|
|
||||||
scope :pending, -> { where(status: "pending") }
|
scope :pending, -> { where(status: "pending") }
|
||||||
scope :preprocessed, -> { where(status: "preprocessed") }
|
|
||||||
scope :completed, -> { where(status: "completed") }
|
scope :completed, -> { where(status: "completed") }
|
||||||
scope :failed, -> { where(status: "error") }
|
scope :failed, -> { where(status: "error") }
|
||||||
|
|
||||||
|
|||||||
@@ -249,7 +249,6 @@ Rails.application.routes.draw do
|
|||||||
resources :tag_implications, only: [:show, :index, :destroy]
|
resources :tag_implications, only: [:show, :index, :destroy]
|
||||||
resources :uploads do
|
resources :uploads do
|
||||||
collection do
|
collection do
|
||||||
post :preprocess
|
|
||||||
get :batch
|
get :batch
|
||||||
get :image_proxy
|
get :image_proxy
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user