change routes delete

parent bcb71cf9
Pipeline #941 failed with stages
in 0 seconds
...@@ -6,10 +6,10 @@ Rails.application.routes.draw do ...@@ -6,10 +6,10 @@ Rails.application.routes.draw do
get '/my', to: 'users#my_page', as: :my_page get '/my', to: 'users#my_page', as: :my_page
get '/my/info', to: 'users#my_info', as: :my_page_info get '/my/info', to: 'users#my_info', as: :my_page_info
get '/login', to: 'sessions#new', as: :login get '/login', to: 'sessions#new', as: :login
match '/logout', to: 'sessions#destroy', via: 'delete', as: :logout delete '/logout', to: 'sessions#destroy', as: :logout
resources :jobs resources :jobs
get 'detail/:id', action: :show, controller: 'jobs' , as: :job_detail get 'detail/:id', to: 'jobs#show', as: :job_detail
get 'jobs/city/:converted_name', to: 'jobs#city_jobs', as: :city_jobs get 'jobs/city/:converted_name', to: 'jobs#city_jobs', as: :city_jobs
get 'jobs/industry/:converted_name', to: 'jobs#industry_jobs', as: :industry_jobs get 'jobs/industry/:converted_name', to: 'jobs#industry_jobs', as: :industry_jobs
......
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