diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 85bb293..2220241 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -5,4 +5,13 @@ class HomeController < ApplicationController def participant end + def Employer + end + + def Worker + end + + def Vendor + end + end diff --git a/app/helpers/worker_helper.rb b/app/helpers/worker_helper.rb new file mode 100644 index 0000000..8d2ca97 --- /dev/null +++ b/app/helpers/worker_helper.rb @@ -0,0 +1,2 @@ +module WorkerHelper +end diff --git a/app/views/home/employer.html.erb b/app/views/home/employer.html.erb new file mode 100644 index 0000000..e99ce01 --- /dev/null +++ b/app/views/home/employer.html.erb @@ -0,0 +1 @@ +

Employer

\ No newline at end of file diff --git a/app/views/home/participant.html.erb b/app/views/home/participant.html.erb index e69de29..d3f4193 100644 --- a/app/views/home/participant.html.erb +++ b/app/views/home/participant.html.erb @@ -0,0 +1,52 @@ +

Participant

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProgramMCI
NameDOB
AddressSSN
PhoneGender
Email
+
+ + + + diff --git a/app/views/home/vendor.html.erb b/app/views/home/vendor.html.erb new file mode 100644 index 0000000..e7cab7e --- /dev/null +++ b/app/views/home/vendor.html.erb @@ -0,0 +1 @@ +

Vendor

\ No newline at end of file diff --git a/app/views/home/worker.html.erb b/app/views/home/worker.html.erb new file mode 100644 index 0000000..db8a079 --- /dev/null +++ b/app/views/home/worker.html.erb @@ -0,0 +1 @@ +

Worker

\ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index b697079..fb65685 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,9 @@ Rails.application.routes.draw do # get 'home/index' get 'home/participant' + get 'home/employer' + get 'home/worker' + get 'home/vendor' root 'home#index' # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html diff --git a/test/controllers/worker_controller_test.rb b/test/controllers/worker_controller_test.rb new file mode 100644 index 0000000..1677756 --- /dev/null +++ b/test/controllers/worker_controller_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class WorkerControllerTest < ActionDispatch::IntegrationTest + # test "the truth" do + # assert true + # end +end