Fix user test

This commit is contained in:
Andy Smith
2025-08-27 14:25:47 -05:00
parent c86be111f3
commit 4d923f79ec
+6 -4
View File
@@ -1,12 +1,14 @@
class UsersController < ApplicationController
require_unauthenticated_access only: %i[ new create ]
include FilterScoped
before_action :set_user, only: %i[ show edit update destroy ]
before_action :ensure_join_code_is_valid, only: %i[ new create ]
before_action :ensure_permission_to_change_user, only: %i[ update destroy ]
include FilterScoped
before_action :set_filter, only: [:edit, :show]
before_action :set_user_filtering, only: [:edit, :show]
enable_collection_filtering only: [:edit, :show]
def new