Implement search, show_basic, show_detail and add_to_fav for theses
This commit is contained in:
@@ -22,6 +22,14 @@ Rails.application.routes.draw do
|
||||
get 'add_to_fav'
|
||||
post 'add_to_fav'
|
||||
end
|
||||
|
||||
namespace :theses_crawler do
|
||||
get 'show_basic'
|
||||
get 'show_detail'
|
||||
post 'show_detail'
|
||||
get 'add_to_fav'
|
||||
post 'add_to_fav'
|
||||
end
|
||||
end
|
||||
|
||||
namespace :favorites do
|
||||
@@ -30,6 +38,7 @@ Rails.application.routes.draw do
|
||||
get 'courses'
|
||||
delete 'delete_course'
|
||||
get 'theses'
|
||||
delete 'delete_thesis'
|
||||
get 'projects'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user