Skip to content

Commit

Permalink
Fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
edgurgel committed Sep 24, 2017
1 parent 6abf7d8 commit eff5ac8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions web/channels/room_channel.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ defmodule VerkWeb.RoomChannel do

@doc false
def join("rooms:jobs", _, socket) do
{:ok, _pid} = TrackingJobsHandler.start_link(self)
{:ok, _pid} = TrackingJobsHandler.start_link(self())
{:ok, socket}
end

@doc false
def join("rooms:queues", _, socket) do
{:ok, _pid} = TrackingQueuesHandler.start_link(self)
{:ok, _pid} = TrackingQueuesHandler.start_link(self())
{:ok, socket}
end

Expand Down
4 changes: 2 additions & 2 deletions web/templates/shared/job_modal.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
<%= unless assigns[:perform_at] do %>
<%= link to: job_path(@conn, :show, @job.queue, @job.jid) do %>
<button type="button" class="btn btn-info">Inspect</button>
<%= end %>
<%= end %>
<% end %>
<% end %>
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
Expand Down

0 comments on commit eff5ac8

Please sign in to comment.