Last active
January 2, 2020 20:18
-
-
Save neslinesli93/acbbfee1e303817ab1bcf38b44dc7a22 to your computer and use it in GitHub Desktop.
Import modules inside breakoutex_web.ex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def controller do | |
quote do | |
# ...other import/alias directives | |
import Phoenix.LiveView.Controller | |
end | |
end | |
def view do | |
quote do | |
# ...other import/alias directives | |
import Phoenix.LiveView, only: [live_render: 2, live_render: 3] | |
end | |
end | |
def router do | |
quote do | |
# ...other import/alias directives | |
import Phoenix.LiveView.Router | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment