Skip to content

Commit

Permalink
generator creates action modules
Browse files Browse the repository at this point in the history
  • Loading branch information
CrowdHailer committed Sep 3, 2017
1 parent 86103ef commit 637de43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/water_cooler/chat_room.ex
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ defmodule WaterCooler.ChatRoom do
end

def join(room \\ @default_room) do
:ok = :pg2.create(:chat)
:ok = :pg2.create(room)
:ok = :pg2.join(room, self())
{:ok, room}
end
Expand Down

0 comments on commit 637de43

Please sign in to comment.