From 9c0577821aa1c2eff47a1117801a5a35f8508eb0 Mon Sep 17 00:00:00 2001 From: Joerg Reichert Date: Wed, 6 Apr 2016 22:21:03 +0200 Subject: [PATCH] Adapt import callback route --- config/routes.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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]