added chat room controllers
This commit is contained in:
parent
085e402c4d
commit
68d55cbcd8
|
@ -0,0 +1,6 @@
|
|||
class ChatRoomsController < ApplicationController
|
||||
|
||||
def create
|
||||
|
||||
end
|
||||
end
|
|
@ -0,0 +1,8 @@
|
|||
class RequestsController < ApplicationController
|
||||
|
||||
def update
|
||||
request.accepted = true
|
||||
|
||||
# Create new Chat Room
|
||||
end
|
||||
end
|
|
@ -50,7 +50,7 @@ Rails.application.configure do
|
|||
config.action_cable.allowed_request_origins = [ '*' ]
|
||||
|
||||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||
# config.force_ssl = true
|
||||
config.force_ssl = true
|
||||
|
||||
# Use the lowest log level to ensure availability of diagnostic information
|
||||
# when problems arise.
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
require 'test_helper'
|
||||
|
||||
class ChatRoomsControllerTest < ActionDispatch::IntegrationTest
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require 'test_helper'
|
||||
|
||||
class RequestsControllerTest < ActionDispatch::IntegrationTest
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
Loading…
Reference in New Issue