Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
Adding handle event in home live view
Browse files Browse the repository at this point in the history
  • Loading branch information
carlogilmar committed Sep 22, 2019
1 parent 23de53a commit 90aee86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/spawnfest_web/live/home_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ defmodule SpawnfestWeb.HomeLive do
{:ok, socket}
end

def handle_event("search", _params, socket) do
{:noreply, socket}
end

def handle_params(params, _url, socket) do
start_process.({params, socket})
end
Expand Down

0 comments on commit 90aee86

Please sign in to comment.