Add skeleton for theses, projects and courses
This commit is contained in:
parent
99b4e66504
commit
ffec7643a4
3
app/assets/stylesheets/projects_crawler.scss
Normal file
3
app/assets/stylesheets/projects_crawler.scss
Normal file
@ -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/
|
||||||
3
app/assets/stylesheets/theses_crawler.scss
Normal file
3
app/assets/stylesheets/theses_crawler.scss
Normal file
@ -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/
|
||||||
@ -1,4 +1,4 @@
|
|||||||
class CoursesCrawlerController < ApplicationController
|
class CoursesCrawlerController < TissCrawlerController
|
||||||
|
|
||||||
def show_basic
|
def show_basic
|
||||||
end
|
end
|
||||||
|
|||||||
13
app/controllers/projects_crawler_controller.rb
Normal file
13
app/controllers/projects_crawler_controller.rb
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
class ProjectsCrawlerController < TissCrawlerController
|
||||||
|
def show_basic
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
def show_detail
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
def add_to_fav
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
13
app/controllers/theses_crawler_controller.rb
Normal file
13
app/controllers/theses_crawler_controller.rb
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
class ThesesCrawlerController < TissCrawlerController
|
||||||
|
def show_basic
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
def show_detail
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
def add_to_fav
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
2
app/helpers/projects_crawler_helper.rb
Normal file
2
app/helpers/projects_crawler_helper.rb
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
module ProjectsCrawlerHelper
|
||||||
|
end
|
||||||
2
app/helpers/theses_crawler_helper.rb
Normal file
2
app/helpers/theses_crawler_helper.rb
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
module ThesesCrawlerHelper
|
||||||
|
end
|
||||||
7
test/controllers/projects_crawler_controller_test.rb
Normal file
7
test/controllers/projects_crawler_controller_test.rb
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
require 'test_helper'
|
||||||
|
|
||||||
|
class ProjectsCrawlerControllerTest < ActionDispatch::IntegrationTest
|
||||||
|
# test "the truth" do
|
||||||
|
# assert true
|
||||||
|
# end
|
||||||
|
end
|
||||||
7
test/controllers/theses_crawler_controller_test.rb
Normal file
7
test/controllers/theses_crawler_controller_test.rb
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
require 'test_helper'
|
||||||
|
|
||||||
|
class ThesesCrawlerControllerTest < ActionDispatch::IntegrationTest
|
||||||
|
# test "the truth" do
|
||||||
|
# assert true
|
||||||
|
# end
|
||||||
|
end
|
||||||
Loading…
x
Reference in New Issue
Block a user