Commit fa48d1c3 by Nguyen Ngoc Nghia

edit routes.rb

parent 6c1516cb
Rails.application.routes.draw do
get "companies/index"
resources :companies do
collection {post :import}
end
get "industries/index"
resources :industries do
collection {post :import}
end
get "cities/index"
resources :cities do
collection {post :import}
end
get "jobs/index"
resources :jobs do
collection {post :import}
end
devise_for :users
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
root "static_pages#index"
get "static_pages/index"
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