Skip to content

Make sure that user can send message to the chatroom (security).#6

Open
andresakata wants to merge 1 commit intogorails-screencasts:masterfrom
andresakata:master
Open

Make sure that user can send message to the chatroom (security).#6
andresakata wants to merge 1 commit intogorails-screencasts:masterfrom
andresakata:master

Conversation

@andresakata
Copy link

Using current_user scope to find the channel before sending the message. Just to make sure the user is in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant