Browse Source

fix routes

pull/624/head
Kat 3 years ago
parent
commit
9ee3450966
  1. 8
      config/routes.rb

8
config/routes.rb

@ -35,8 +35,12 @@ Rails.application.routes.draw do
get "edit/password", to: "users#edit_password" get "edit/password", to: "users#edit_password"
end end
get "/users/:id/deactivate", to: "users#deactivate" resources :users do
get "/users/:id/reactivate", to: "users#reactivate" member do
get "deactivate", to: "users#deactivate"
get "reactivate", to: "users#reactivate"
end
end
resources :organisations do resources :organisations do
member do member do

Loading…
Cancel
Save