fix: set room instance variable in room direct destroy

This commit is contained in:
NullFluxKevin
2025-09-05 16:06:46 -04:00
parent f3f019398e
commit ad455c8504
+1 -1
View File
@@ -1,5 +1,5 @@
class Rooms::DirectsController < RoomsController
before_action :set_room, only: %i[ edit ]
before_action :set_room, only: %i[ edit destroy ]
def new
@room = Rooms::Direct.new
end