From 670bac90d2888b2040ef576b9f5e115afe7b3d61 Mon Sep 17 00:00:00 2001 From: Marco Zeisler Date: Fri, 24 Apr 2020 17:02:08 +0200 Subject: [PATCH] make me work --- app/assets/stylesheets/courses_crawler.scss | 3 +++ .../crawlers/courses_crawler_controller.rb | 12 ++++++++++++ app/helpers/courses_crawler_helper.rb | 2 ++ test/controllers/courses_crawler_controller_test.rb | 7 +++++++ 4 files changed, 24 insertions(+) create mode 100644 app/assets/stylesheets/courses_crawler.scss create mode 100644 app/controllers/crawlers/courses_crawler_controller.rb create mode 100644 app/helpers/courses_crawler_helper.rb create mode 100644 test/controllers/courses_crawler_controller_test.rb diff --git a/app/assets/stylesheets/courses_crawler.scss b/app/assets/stylesheets/courses_crawler.scss new file mode 100644 index 0000000..bd45383 --- /dev/null +++ b/app/assets/stylesheets/courses_crawler.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the CoursesCrawler 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/crawlers/courses_crawler_controller.rb b/app/controllers/crawlers/courses_crawler_controller.rb new file mode 100644 index 0000000..0a594a7 --- /dev/null +++ b/app/controllers/crawlers/courses_crawler_controller.rb @@ -0,0 +1,12 @@ +class CoursesCrawlerController < ApplicationController + + def show_basic + end + + def show_detail + end + + def add_to_fav + end + +end diff --git a/app/helpers/courses_crawler_helper.rb b/app/helpers/courses_crawler_helper.rb new file mode 100644 index 0000000..6800321 --- /dev/null +++ b/app/helpers/courses_crawler_helper.rb @@ -0,0 +1,2 @@ +module CoursesCrawlerHelper +end diff --git a/test/controllers/courses_crawler_controller_test.rb b/test/controllers/courses_crawler_controller_test.rb new file mode 100644 index 0000000..4c24fc1 --- /dev/null +++ b/test/controllers/courses_crawler_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class CoursesCrawlerControllerTest < ActionDispatch::IntegrationTest + # test "the truth" do + # assert true + # end +end