mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-02-21 20:20:34 +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
|
||||
before_action :set_room, only: %i[ edit ]
|
||||
def new
|
||||
@room = Rooms::Direct.new
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user