mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-10 00:30:13 +09:00
Merge pull request #9 from NullFluxKevin/fix-room-instance-variable-not-set-in-room-direct-edit
fix: set the room instance variable in room direct edit
This commit is contained in:
@@ -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