diff --git a/config/routes.rb b/config/routes.rb index d0100e2..1ae84c4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,9 +5,7 @@ Rails.application.routes.draw do get '/' => 'search#index', as: :search end - scope '/a7d34068d8e22f75898ce838c0e59669bc047e46', :controller => :import do - post :new_papers_callback - end + post '/import' => 'import#new_papers_callback' resource :session, only: [:create, :destroy]