Add routes for projects

This commit is contained in:
Tobias Eidelpes 2020-05-27 16:41:27 +02:00
parent e359595d0f
commit 3201628f2d

View File

@ -30,6 +30,14 @@ Rails.application.routes.draw do
get 'add_to_fav'
post 'add_to_fav'
end
namespace :projects_crawler do
get 'show_basic'
get 'show_detail'
post 'show_detail'
get 'add_to_fav'
post 'add_to_fav'
end
end
namespace :favorites do
@ -40,6 +48,7 @@ Rails.application.routes.draw do
get 'theses'
delete 'delete_thesis'
get 'projects'
delete 'delete_projects'
end
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html