From 1970a65bf8daed6ed73790a5dc3432ac1bcc4517 Mon Sep 17 00:00:00 2001 From: Pfingstfrosch Date: Sat, 16 May 2020 11:44:21 +0200 Subject: [PATCH] fix of inheritance error -> uninitialized constant TissCrawlerController --- app/controllers/crawlers/courses_crawler_controller.rb | 2 +- app/controllers/crawlers/people_crawler_controller.rb | 2 +- app/controllers/crawlers/projects_crawler_controller.rb | 2 +- app/controllers/crawlers/theses_crawler_controller.rb | 2 +- app/controllers/crawlers/tiss_crawler_controller.rb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controllers/crawlers/courses_crawler_controller.rb b/app/controllers/crawlers/courses_crawler_controller.rb index 69f47ea..a590ced 100644 --- a/app/controllers/crawlers/courses_crawler_controller.rb +++ b/app/controllers/crawlers/courses_crawler_controller.rb @@ -1,4 +1,4 @@ -class Crawlers::CoursesCrawlerController < TissCrawlerController +class Crawlers::CoursesCrawlerController < Crawlers::TissCrawlerController def show_basic params[:api] = '/api/search/course/v1.0/quickSearch' diff --git a/app/controllers/crawlers/people_crawler_controller.rb b/app/controllers/crawlers/people_crawler_controller.rb index a9de30a..4de86da 100644 --- a/app/controllers/crawlers/people_crawler_controller.rb +++ b/app/controllers/crawlers/people_crawler_controller.rb @@ -1,4 +1,4 @@ -class Crawlers::PeopleCrawlerController < TissCrawlerController +class Crawlers::PeopleCrawlerController < Crawlers::TissCrawlerController def show_basic params[:api] = '/api/person/v22/psuche' diff --git a/app/controllers/crawlers/projects_crawler_controller.rb b/app/controllers/crawlers/projects_crawler_controller.rb index d5f9089..13688c9 100644 --- a/app/controllers/crawlers/projects_crawler_controller.rb +++ b/app/controllers/crawlers/projects_crawler_controller.rb @@ -1,4 +1,4 @@ -class Crawlers::ProjectsCrawlerController < TissCrawlerController +class Crawlers::ProjectsCrawlerController < Crawlers::TissCrawlerController def show_basic end diff --git a/app/controllers/crawlers/theses_crawler_controller.rb b/app/controllers/crawlers/theses_crawler_controller.rb index 9e2df8e..409a5e4 100644 --- a/app/controllers/crawlers/theses_crawler_controller.rb +++ b/app/controllers/crawlers/theses_crawler_controller.rb @@ -1,4 +1,4 @@ -class Crawlers::ThesesCrawlerController < TissCrawlerController +class Crawlers::ThesesCrawlerController < Crawlers::TissCrawlerController def show_basic end diff --git a/app/controllers/crawlers/tiss_crawler_controller.rb b/app/controllers/crawlers/tiss_crawler_controller.rb index fac3647..50a6b86 100644 --- a/app/controllers/crawlers/tiss_crawler_controller.rb +++ b/app/controllers/crawlers/tiss_crawler_controller.rb @@ -1,4 +1,4 @@ -class Crawlers::TissCrawlerController < ApplicationController +class Crawlers::TissCrawlerController < Crawlers::ApplicationController # self designed lib to call the Tiss API require 'tiss/tiss_crawler'