add stubs, routes for add_annotation action
This commit is contained in:
@@ -82,4 +82,7 @@ class Crawlers::CoursesCrawlerController < Crawlers::TissCrawlerController
|
||||
redirect_back(fallback_location: search)
|
||||
end
|
||||
|
||||
def add_annotation
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -46,4 +46,7 @@ class Crawlers::ProjectsCrawlerController < Crawlers::TissCrawlerController
|
||||
end
|
||||
redirect_back(fallback_location: search)
|
||||
end
|
||||
|
||||
def add_annotation
|
||||
end
|
||||
end
|
||||
|
||||
@@ -46,4 +46,7 @@ class Crawlers::ThesesCrawlerController < Crawlers::TissCrawlerController
|
||||
end
|
||||
redirect_back(fallback_location: search)
|
||||
end
|
||||
|
||||
def add_annotation
|
||||
end
|
||||
end
|
||||
|
||||
@@ -34,4 +34,7 @@ class Crawlers::TissCrawlerController < ApplicationController
|
||||
def add_to_fav
|
||||
end
|
||||
|
||||
def add_annotation
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user