Add routes for projects
This commit is contained in:
parent
e359595d0f
commit
3201628f2d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user