mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-25 23:26:48 +09:00
fix: set room instance variable in room direct destroy
This commit is contained in:
1 parent
f3f019398e
commit
ad455c8504
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user