add stubs, routes for add_annotation action

This commit is contained in:
Pfingstfrosch
2020-06-04 21:53:32 +02:00
parent 8196517175
commit 37cc1ae72d
5 changed files with 16 additions and 0 deletions
+4
View File
@@ -13,6 +13,7 @@ Rails.application.routes.draw do
post 'show_detail'
get 'add_to_fav'
post 'add_to_fav'
post 'add_annotation'
end
namespace :courses_crawler do
@@ -21,6 +22,7 @@ Rails.application.routes.draw do
post 'show_detail'
get 'add_to_fav'
post 'add_to_fav'
post 'add_annotation'
end
namespace :theses_crawler do
@@ -29,6 +31,7 @@ Rails.application.routes.draw do
post 'show_detail'
get 'add_to_fav'
post 'add_to_fav'
post 'add_annotation'
end
namespace :projects_crawler do
@@ -37,6 +40,7 @@ Rails.application.routes.draw do
post 'show_detail'
get 'add_to_fav'
post 'add_to_fav'
post 'add_annotation'
end
end