docbrown/app/controllers/api/v0/chat_channels_controller.rb
Ben Halpern 70580d0265
[WIP] Connect misc improvements/debugs (#2880)
* WIP Connect misc improvements/debugs

* Modify tests and update snapshots

* Change GitHub sidecar copy
2019-05-20 10:08:51 -04:00

10 lines
238 B
Ruby

module Api
module V0
class ChatChannelsController < ApplicationController
def show
@chat_channel = ChatChannel.find(params[:id])
raise unless @chat_channel.has_member?(current_user)
end
end
end
end