diff --git a/app/models/upload.rb b/app/models/upload.rb index 27061a05e..1a8b747c7 100644 --- a/app/models/upload.rb +++ b/app/models/upload.rb @@ -18,7 +18,6 @@ class Upload < ApplicationRecord after_create :async_process_upload! scope :pending, -> { where(status: "pending") } - scope :preprocessed, -> { where(status: "preprocessed") } scope :completed, -> { where(status: "completed") } scope :failed, -> { where(status: "error") } diff --git a/config/routes.rb b/config/routes.rb index 1c3e0da8c..fecf9a2a8 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -249,7 +249,6 @@ Rails.application.routes.draw do resources :tag_implications, only: [:show, :index, :destroy] resources :uploads do collection do - post :preprocess get :batch get :image_proxy end