Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
340 B

class OrganisationsController < ApplicationController
before_action :authenticate_user!
before_action :find_organisation
def users
if current_user.data_coordinator?
render "users"
else
head :unauthorized
end
end
private
def find_organisation
@organisation = Organisation.find(params[:id])
end
end