mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-12 01:23:57 +09:00
fix: set the room instance variable in room direct edit
This commit is contained in:
1 parent
eecdb29332
commit
fbfcb48ebe
1 file changed
+1
@@ -1,4 +1,5 @@
|
||||
class Rooms::DirectsController < RoomsController
|
||||
before_action :set_room, only: %i[ edit ]
|
||||
def new
|
||||
@room = Rooms::Direct.new
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user