diff --git a/app/assets/stylesheets/projects_crawler.scss b/app/assets/stylesheets/projects_crawler.scss new file mode 100644 index 0000000..9783c68 --- /dev/null +++ b/app/assets/stylesheets/projects_crawler.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the ProjectsCrawler controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: https://sass-lang.com/ diff --git a/app/assets/stylesheets/theses_crawler.scss b/app/assets/stylesheets/theses_crawler.scss new file mode 100644 index 0000000..25c9a4a --- /dev/null +++ b/app/assets/stylesheets/theses_crawler.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the ThesesCrawler controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: https://sass-lang.com/ diff --git a/app/controllers/courses_crawler_controller.rb b/app/controllers/courses_crawler_controller.rb index 0a594a7..879a596 100644 --- a/app/controllers/courses_crawler_controller.rb +++ b/app/controllers/courses_crawler_controller.rb @@ -1,4 +1,4 @@ -class CoursesCrawlerController < ApplicationController +class CoursesCrawlerController < TissCrawlerController def show_basic end diff --git a/app/controllers/projects_crawler_controller.rb b/app/controllers/projects_crawler_controller.rb new file mode 100644 index 0000000..c090dda --- /dev/null +++ b/app/controllers/projects_crawler_controller.rb @@ -0,0 +1,13 @@ +class ProjectsCrawlerController < TissCrawlerController + def show_basic + + end + + def show_detail + + end + + def add_to_fav + + end +end diff --git a/app/controllers/theses_crawler_controller.rb b/app/controllers/theses_crawler_controller.rb new file mode 100644 index 0000000..600592a --- /dev/null +++ b/app/controllers/theses_crawler_controller.rb @@ -0,0 +1,13 @@ +class ThesesCrawlerController < TissCrawlerController + def show_basic + + end + + def show_detail + + end + + def add_to_fav + + end +end diff --git a/app/helpers/projects_crawler_helper.rb b/app/helpers/projects_crawler_helper.rb new file mode 100644 index 0000000..5c75729 --- /dev/null +++ b/app/helpers/projects_crawler_helper.rb @@ -0,0 +1,2 @@ +module ProjectsCrawlerHelper +end diff --git a/app/helpers/theses_crawler_helper.rb b/app/helpers/theses_crawler_helper.rb new file mode 100644 index 0000000..e2f404e --- /dev/null +++ b/app/helpers/theses_crawler_helper.rb @@ -0,0 +1,2 @@ +module ThesesCrawlerHelper +end diff --git a/test/controllers/projects_crawler_controller_test.rb b/test/controllers/projects_crawler_controller_test.rb new file mode 100644 index 0000000..20f5ab6 --- /dev/null +++ b/test/controllers/projects_crawler_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class ProjectsCrawlerControllerTest < ActionDispatch::IntegrationTest + # test "the truth" do + # assert true + # end +end diff --git a/test/controllers/theses_crawler_controller_test.rb b/test/controllers/theses_crawler_controller_test.rb new file mode 100644 index 0000000..748eafb --- /dev/null +++ b/test/controllers/theses_crawler_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class ThesesCrawlerControllerTest < ActionDispatch::IntegrationTest + # test "the truth" do + # assert true + # end +end