Commit 975057e8 by thanhnd

user_pages

parent d3bf24b8
Pipeline #568 canceled with stages
in 0 seconds
Rails.application.routes.draw do
get 'jobs', to: 'jobs#index'
resources :cities, only: [:index]
resources :industries, only: [:index]
resources :jobs, only: [:index]
devise_for :users
as :user do
......@@ -11,11 +10,9 @@ Rails.application.routes.draw do
delete "signout" => "devise/sessions#destroy"
end
resources :jobs, only: [:index]
get 'detail/:id', to: 'jobs#show'
get 'jobs/search' => 'jobs#search', as: :job_search
root 'top_page#index'
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
resources :top_page
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment