mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-04-09 06:27:49 +09:00
Merge pull request #12 from NullFluxKevin/fix-set-room-instance-variable-in-room-direct-destroy
fix: set room instance variable in room direct destroy
This commit is contained in:
@@ -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