mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-11-02 02:14:05 +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
|
class Rooms::DirectsController < RoomsController
|
||||||
|
before_action :set_room, only: %i[ edit ]
|
||||||
def new
|
def new
|
||||||
@room = Rooms::Direct.new
|
@room = Rooms::Direct.new
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user