diff --git a/app/assets/stylesheets/courses.scss b/app/assets/stylesheets/courses.scss new file mode 100644 index 0000000..5da90a0 --- /dev/null +++ b/app/assets/stylesheets/courses.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the Courses 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/login.scss b/app/assets/stylesheets/login.scss index 6e719a1..484c192 100644 --- a/app/assets/stylesheets/login.scss +++ b/app/assets/stylesheets/login.scss @@ -1,3 +1,3 @@ -// Place all the styles related to the login controller here. +// Place all the styles related to the Login 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/people.scss b/app/assets/stylesheets/people.scss new file mode 100644 index 0000000..4f07f35 --- /dev/null +++ b/app/assets/stylesheets/people.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the People 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/projects.scss b/app/assets/stylesheets/projects.scss new file mode 100644 index 0000000..9063478 --- /dev/null +++ b/app/assets/stylesheets/projects.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the Projects 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.scss b/app/assets/stylesheets/theses.scss new file mode 100644 index 0000000..447c815 --- /dev/null +++ b/app/assets/stylesheets/theses.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the Theses 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_controller.rb b/app/controllers/courses_controller.rb new file mode 100644 index 0000000..ae67716 --- /dev/null +++ b/app/controllers/courses_controller.rb @@ -0,0 +1,22 @@ +class CoursesController < ApplicationController + def index + end + + def show + end + + def new + end + + def edit + end + + def create + end + + def update + end + + def destroy + end +end diff --git a/app/controllers/login_controller.rb b/app/controllers/login_controller.rb index 8613d06..9446e64 100644 --- a/app/controllers/login_controller.rb +++ b/app/controllers/login_controller.rb @@ -1,4 +1,22 @@ class LoginController < ApplicationController def index end + + def show + end + + def new + end + + def edit + end + + def create + end + + def update + end + + def destroy + end end diff --git a/app/controllers/people_controller.rb b/app/controllers/people_controller.rb new file mode 100644 index 0000000..8f79db3 --- /dev/null +++ b/app/controllers/people_controller.rb @@ -0,0 +1,22 @@ +class PeopleController < ApplicationController + def index + end + + def show + end + + def new + end + + def edit + end + + def create + end + + def update + end + + def destroy + end +end diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb new file mode 100644 index 0000000..d9b7e5b --- /dev/null +++ b/app/controllers/projects_controller.rb @@ -0,0 +1,22 @@ +class ProjectsController < ApplicationController + def index + end + + def show + end + + def new + end + + def edit + end + + def create + end + + def update + end + + def destroy + end +end diff --git a/app/controllers/theses_controller.rb b/app/controllers/theses_controller.rb new file mode 100644 index 0000000..bb2bce7 --- /dev/null +++ b/app/controllers/theses_controller.rb @@ -0,0 +1,22 @@ +class ThesesController < ApplicationController + def index + end + + def show + end + + def new + end + + def edit + end + + def create + end + + def update + end + + def destroy + end +end diff --git a/app/helpers/courses_helper.rb b/app/helpers/courses_helper.rb new file mode 100644 index 0000000..c159f1e --- /dev/null +++ b/app/helpers/courses_helper.rb @@ -0,0 +1,2 @@ +module CoursesHelper +end diff --git a/app/helpers/people_helper.rb b/app/helpers/people_helper.rb new file mode 100644 index 0000000..b682fbf --- /dev/null +++ b/app/helpers/people_helper.rb @@ -0,0 +1,2 @@ +module PeopleHelper +end diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb new file mode 100644 index 0000000..db5c5ce --- /dev/null +++ b/app/helpers/projects_helper.rb @@ -0,0 +1,2 @@ +module ProjectsHelper +end diff --git a/app/helpers/theses_helper.rb b/app/helpers/theses_helper.rb new file mode 100644 index 0000000..d44f365 --- /dev/null +++ b/app/helpers/theses_helper.rb @@ -0,0 +1,2 @@ +module ThesesHelper +end diff --git a/app/views/courses/create.html.erb b/app/views/courses/create.html.erb new file mode 100644 index 0000000..0c42b4e --- /dev/null +++ b/app/views/courses/create.html.erb @@ -0,0 +1,2 @@ +

Courses#create

+

Find me in app/views/courses/create.html.erb

diff --git a/app/views/courses/destroy.html.erb b/app/views/courses/destroy.html.erb new file mode 100644 index 0000000..b6e568a --- /dev/null +++ b/app/views/courses/destroy.html.erb @@ -0,0 +1,2 @@ +

Courses#destroy

+

Find me in app/views/courses/destroy.html.erb

diff --git a/app/views/courses/edit.html.erb b/app/views/courses/edit.html.erb new file mode 100644 index 0000000..20dc4d9 --- /dev/null +++ b/app/views/courses/edit.html.erb @@ -0,0 +1,2 @@ +

Courses#edit

+

Find me in app/views/courses/edit.html.erb

diff --git a/app/views/courses/index.html.erb b/app/views/courses/index.html.erb new file mode 100644 index 0000000..1d072e8 --- /dev/null +++ b/app/views/courses/index.html.erb @@ -0,0 +1,2 @@ +

Courses#index

+

Find me in app/views/courses/index.html.erb

diff --git a/app/views/courses/new.html.erb b/app/views/courses/new.html.erb new file mode 100644 index 0000000..aea750a --- /dev/null +++ b/app/views/courses/new.html.erb @@ -0,0 +1,2 @@ +

Courses#new

+

Find me in app/views/courses/new.html.erb

diff --git a/app/views/courses/show.html.erb b/app/views/courses/show.html.erb new file mode 100644 index 0000000..6c14168 --- /dev/null +++ b/app/views/courses/show.html.erb @@ -0,0 +1,2 @@ +

Courses#show

+

Find me in app/views/courses/show.html.erb

diff --git a/app/views/courses/update.html.erb b/app/views/courses/update.html.erb new file mode 100644 index 0000000..d681fa8 --- /dev/null +++ b/app/views/courses/update.html.erb @@ -0,0 +1,2 @@ +

Courses#update

+

Find me in app/views/courses/update.html.erb

diff --git a/app/views/login/create.html.erb b/app/views/login/create.html.erb new file mode 100644 index 0000000..f529ae0 --- /dev/null +++ b/app/views/login/create.html.erb @@ -0,0 +1,2 @@ +

Login#create

+

Find me in app/views/login/create.html.erb

diff --git a/app/views/login/destroy.html.erb b/app/views/login/destroy.html.erb new file mode 100644 index 0000000..f241338 --- /dev/null +++ b/app/views/login/destroy.html.erb @@ -0,0 +1,2 @@ +

Login#destroy

+

Find me in app/views/login/destroy.html.erb

diff --git a/app/views/login/edit.html.erb b/app/views/login/edit.html.erb new file mode 100644 index 0000000..124a823 --- /dev/null +++ b/app/views/login/edit.html.erb @@ -0,0 +1,2 @@ +

Login#edit

+

Find me in app/views/login/edit.html.erb

diff --git a/app/views/login/new.html.erb b/app/views/login/new.html.erb new file mode 100644 index 0000000..a8b508d --- /dev/null +++ b/app/views/login/new.html.erb @@ -0,0 +1,2 @@ +

Login#new

+

Find me in app/views/login/new.html.erb

diff --git a/app/views/login/show.html.erb b/app/views/login/show.html.erb new file mode 100644 index 0000000..3d30229 --- /dev/null +++ b/app/views/login/show.html.erb @@ -0,0 +1,2 @@ +

Login#show

+

Find me in app/views/login/show.html.erb

diff --git a/app/views/login/update.html.erb b/app/views/login/update.html.erb new file mode 100644 index 0000000..d3b8015 --- /dev/null +++ b/app/views/login/update.html.erb @@ -0,0 +1,2 @@ +

Login#update

+

Find me in app/views/login/update.html.erb

diff --git a/app/views/people/create.html.erb b/app/views/people/create.html.erb new file mode 100644 index 0000000..eaa521a --- /dev/null +++ b/app/views/people/create.html.erb @@ -0,0 +1,2 @@ +

People#create

+

Find me in app/views/people/create.html.erb

diff --git a/app/views/people/destroy.html.erb b/app/views/people/destroy.html.erb new file mode 100644 index 0000000..42a6ded --- /dev/null +++ b/app/views/people/destroy.html.erb @@ -0,0 +1,2 @@ +

People#destroy

+

Find me in app/views/people/destroy.html.erb

diff --git a/app/views/people/edit.html.erb b/app/views/people/edit.html.erb new file mode 100644 index 0000000..b807532 --- /dev/null +++ b/app/views/people/edit.html.erb @@ -0,0 +1,2 @@ +

People#edit

+

Find me in app/views/people/edit.html.erb

diff --git a/app/views/people/index.html.erb b/app/views/people/index.html.erb new file mode 100644 index 0000000..72f624e --- /dev/null +++ b/app/views/people/index.html.erb @@ -0,0 +1,2 @@ +

People#index

+

Find me in app/views/people/index.html.erb

diff --git a/app/views/people/new.html.erb b/app/views/people/new.html.erb new file mode 100644 index 0000000..783270e --- /dev/null +++ b/app/views/people/new.html.erb @@ -0,0 +1,2 @@ +

People#new

+

Find me in app/views/people/new.html.erb

diff --git a/app/views/people/show.html.erb b/app/views/people/show.html.erb new file mode 100644 index 0000000..0de3090 --- /dev/null +++ b/app/views/people/show.html.erb @@ -0,0 +1,2 @@ +

People#show

+

Find me in app/views/people/show.html.erb

diff --git a/app/views/people/update.html.erb b/app/views/people/update.html.erb new file mode 100644 index 0000000..79a6b9f --- /dev/null +++ b/app/views/people/update.html.erb @@ -0,0 +1,2 @@ +

People#update

+

Find me in app/views/people/update.html.erb

diff --git a/app/views/projects/create.html.erb b/app/views/projects/create.html.erb new file mode 100644 index 0000000..b3ed4df --- /dev/null +++ b/app/views/projects/create.html.erb @@ -0,0 +1,2 @@ +

Projects#create

+

Find me in app/views/projects/create.html.erb

diff --git a/app/views/projects/destroy.html.erb b/app/views/projects/destroy.html.erb new file mode 100644 index 0000000..4e38ae4 --- /dev/null +++ b/app/views/projects/destroy.html.erb @@ -0,0 +1,2 @@ +

Projects#destroy

+

Find me in app/views/projects/destroy.html.erb

diff --git a/app/views/projects/edit.html.erb b/app/views/projects/edit.html.erb new file mode 100644 index 0000000..73b7bae --- /dev/null +++ b/app/views/projects/edit.html.erb @@ -0,0 +1,2 @@ +

Projects#edit

+

Find me in app/views/projects/edit.html.erb

diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb new file mode 100644 index 0000000..3b2a90a --- /dev/null +++ b/app/views/projects/index.html.erb @@ -0,0 +1,2 @@ +

Projects#index

+

Find me in app/views/projects/index.html.erb

diff --git a/app/views/projects/new.html.erb b/app/views/projects/new.html.erb new file mode 100644 index 0000000..1ad84ab --- /dev/null +++ b/app/views/projects/new.html.erb @@ -0,0 +1,2 @@ +

Projects#new

+

Find me in app/views/projects/new.html.erb

diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb new file mode 100644 index 0000000..f45b075 --- /dev/null +++ b/app/views/projects/show.html.erb @@ -0,0 +1,2 @@ +

Projects#show

+

Find me in app/views/projects/show.html.erb

diff --git a/app/views/projects/update.html.erb b/app/views/projects/update.html.erb new file mode 100644 index 0000000..a88e7ce --- /dev/null +++ b/app/views/projects/update.html.erb @@ -0,0 +1,2 @@ +

Projects#update

+

Find me in app/views/projects/update.html.erb

diff --git a/app/views/theses/create.html.erb b/app/views/theses/create.html.erb new file mode 100644 index 0000000..21455db --- /dev/null +++ b/app/views/theses/create.html.erb @@ -0,0 +1,2 @@ +

Theses#create

+

Find me in app/views/theses/create.html.erb

diff --git a/app/views/theses/destroy.html.erb b/app/views/theses/destroy.html.erb new file mode 100644 index 0000000..b3278fd --- /dev/null +++ b/app/views/theses/destroy.html.erb @@ -0,0 +1,2 @@ +

Theses#destroy

+

Find me in app/views/theses/destroy.html.erb

diff --git a/app/views/theses/edit.html.erb b/app/views/theses/edit.html.erb new file mode 100644 index 0000000..770d958 --- /dev/null +++ b/app/views/theses/edit.html.erb @@ -0,0 +1,2 @@ +

Theses#edit

+

Find me in app/views/theses/edit.html.erb

diff --git a/app/views/theses/index.html.erb b/app/views/theses/index.html.erb new file mode 100644 index 0000000..335b5cb --- /dev/null +++ b/app/views/theses/index.html.erb @@ -0,0 +1,2 @@ +

Theses#index

+

Find me in app/views/theses/index.html.erb

diff --git a/app/views/theses/new.html.erb b/app/views/theses/new.html.erb new file mode 100644 index 0000000..9e8d1b5 --- /dev/null +++ b/app/views/theses/new.html.erb @@ -0,0 +1,2 @@ +

Theses#new

+

Find me in app/views/theses/new.html.erb

diff --git a/app/views/theses/show.html.erb b/app/views/theses/show.html.erb new file mode 100644 index 0000000..32bdd00 --- /dev/null +++ b/app/views/theses/show.html.erb @@ -0,0 +1,2 @@ +

Theses#show

+

Find me in app/views/theses/show.html.erb

diff --git a/app/views/theses/update.html.erb b/app/views/theses/update.html.erb new file mode 100644 index 0000000..eeab523 --- /dev/null +++ b/app/views/theses/update.html.erb @@ -0,0 +1,2 @@ +

Theses#update

+

Find me in app/views/theses/update.html.erb

diff --git a/config/routes.rb b/config/routes.rb index 028ba87..0988139 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,39 @@ Rails.application.routes.draw do + get 'theses/index' + get 'theses/show' + get 'theses/new' + get 'theses/edit' + get 'theses/create' + get 'theses/update' + get 'theses/destroy' + get 'projects/index' + get 'projects/show' + get 'projects/new' + get 'projects/edit' + get 'projects/create' + get 'projects/update' + get 'projects/destroy' + get 'people/index' + get 'people/show' + get 'people/new' + get 'people/edit' + get 'people/create' + get 'people/update' + get 'people/destroy' + get 'login/index' + get 'login/show' + get 'login/new' + get 'login/edit' + get 'login/create' + get 'login/update' + get 'login/destroy' + get 'courses/index' + get 'courses/show' + get 'courses/new' + get 'courses/edit' + get 'courses/create' + get 'courses/update' + get 'courses/destroy' get 'login/index' # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html end diff --git a/test/controllers/courses_controller_test.rb b/test/controllers/courses_controller_test.rb new file mode 100644 index 0000000..b87a5ad --- /dev/null +++ b/test/controllers/courses_controller_test.rb @@ -0,0 +1,39 @@ +require 'test_helper' + +class CoursesControllerTest < ActionDispatch::IntegrationTest + test "should get index" do + get courses_index_url + assert_response :success + end + + test "should get show" do + get courses_show_url + assert_response :success + end + + test "should get new" do + get courses_new_url + assert_response :success + end + + test "should get edit" do + get courses_edit_url + assert_response :success + end + + test "should get create" do + get courses_create_url + assert_response :success + end + + test "should get update" do + get courses_update_url + assert_response :success + end + + test "should get destroy" do + get courses_destroy_url + assert_response :success + end + +end diff --git a/test/controllers/login_controller_test.rb b/test/controllers/login_controller_test.rb index 9059769..c3a6335 100644 --- a/test/controllers/login_controller_test.rb +++ b/test/controllers/login_controller_test.rb @@ -6,4 +6,34 @@ class LoginControllerTest < ActionDispatch::IntegrationTest assert_response :success end + test "should get show" do + get login_show_url + assert_response :success + end + + test "should get new" do + get login_new_url + assert_response :success + end + + test "should get edit" do + get login_edit_url + assert_response :success + end + + test "should get create" do + get login_create_url + assert_response :success + end + + test "should get update" do + get login_update_url + assert_response :success + end + + test "should get destroy" do + get login_destroy_url + assert_response :success + end + end diff --git a/test/controllers/people_controller_test.rb b/test/controllers/people_controller_test.rb new file mode 100644 index 0000000..7930378 --- /dev/null +++ b/test/controllers/people_controller_test.rb @@ -0,0 +1,39 @@ +require 'test_helper' + +class PeopleControllerTest < ActionDispatch::IntegrationTest + test "should get index" do + get people_index_url + assert_response :success + end + + test "should get show" do + get people_show_url + assert_response :success + end + + test "should get new" do + get people_new_url + assert_response :success + end + + test "should get edit" do + get people_edit_url + assert_response :success + end + + test "should get create" do + get people_create_url + assert_response :success + end + + test "should get update" do + get people_update_url + assert_response :success + end + + test "should get destroy" do + get people_destroy_url + assert_response :success + end + +end diff --git a/test/controllers/projects_controller_test.rb b/test/controllers/projects_controller_test.rb new file mode 100644 index 0000000..47126ce --- /dev/null +++ b/test/controllers/projects_controller_test.rb @@ -0,0 +1,39 @@ +require 'test_helper' + +class ProjectsControllerTest < ActionDispatch::IntegrationTest + test "should get index" do + get projects_index_url + assert_response :success + end + + test "should get show" do + get projects_show_url + assert_response :success + end + + test "should get new" do + get projects_new_url + assert_response :success + end + + test "should get edit" do + get projects_edit_url + assert_response :success + end + + test "should get create" do + get projects_create_url + assert_response :success + end + + test "should get update" do + get projects_update_url + assert_response :success + end + + test "should get destroy" do + get projects_destroy_url + assert_response :success + end + +end diff --git a/test/controllers/theses_controller_test.rb b/test/controllers/theses_controller_test.rb new file mode 100644 index 0000000..75d3567 --- /dev/null +++ b/test/controllers/theses_controller_test.rb @@ -0,0 +1,39 @@ +require 'test_helper' + +class ThesesControllerTest < ActionDispatch::IntegrationTest + test "should get index" do + get theses_index_url + assert_response :success + end + + test "should get show" do + get theses_show_url + assert_response :success + end + + test "should get new" do + get theses_new_url + assert_response :success + end + + test "should get edit" do + get theses_edit_url + assert_response :success + end + + test "should get create" do + get theses_create_url + assert_response :success + end + + test "should get update" do + get theses_update_url + assert_response :success + end + + test "should get destroy" do + get theses_destroy_url + assert_response :success + end + +end