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

View File

@ -82,4 +82,7 @@ class Crawlers::CoursesCrawlerController < Crawlers::TissCrawlerController
redirect_back(fallback_location: search)
end
def add_annotation
end
end

View File

@ -46,4 +46,7 @@ class Crawlers::ProjectsCrawlerController < Crawlers::TissCrawlerController
end
redirect_back(fallback_location: search)
end
def add_annotation
end
end

View File

@ -46,4 +46,7 @@ class Crawlers::ThesesCrawlerController < Crawlers::TissCrawlerController
end
redirect_back(fallback_location: search)
end
def add_annotation
end
end

View File

@ -34,4 +34,7 @@ class Crawlers::TissCrawlerController < ApplicationController
def add_to_fav
end
def add_annotation
end
end

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