Skip to content

Commit

Permalink
Staging validations
Browse files Browse the repository at this point in the history
  • Loading branch information
ekumachidi committed Mar 27, 2024
1 parent 129cbee commit cd0838d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controllers/schools/users_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module Schools
class UsersController < BaseController
def index; end
def index
@users = DFESignInAPI::OrganisationUsers.new(current_user.sub, current_school.urn).users
end

def new
@user_invite = DFESignInAPI::UserInvite.new
Expand Down
1 change: 1 addition & 0 deletions app/views/schools/users/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@
</div>

</div>
<%= @users %>
</div>

0 comments on commit cd0838d

Please sign in to comment.