Browse Source

Remove change_name action from organisations_controller for unauthorized access handling

pull/3053/head
Manny Dinssa 3 weeks ago
parent
commit
b1e661dc6d
  1. 8
      app/controllers/organisations_controller.rb

8
app/controllers/organisations_controller.rb

@ -113,14 +113,6 @@ class OrganisationsController < ApplicationController
end
end
def change_name
if current_user.support?
render "change_name", layout: "application"
else
head :unauthorized
end
end
def deactivate
authorize @organisation

Loading…
Cancel
Save