mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 10:42:11 +00:00
added chat room controllers
This commit is contained in:
6
app/controllers/chat_rooms_controller.rb
Normal file
6
app/controllers/chat_rooms_controller.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class ChatRoomsController < ApplicationController
|
||||
|
||||
def create
|
||||
|
||||
end
|
||||
end
|
||||
8
app/controllers/requests_controller.rb
Normal file
8
app/controllers/requests_controller.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class RequestsController < ApplicationController
|
||||
|
||||
def update
|
||||
request.accepted = true
|
||||
|
||||
# Create new Chat Room
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user