Created
September 1, 2017 15:40
-
-
Save jeremyjh/82ff041698b4adab2b50ed0478d89a2f to your computer and use it in GitHub Desktop.
bigapp_web.ex def view pass opts
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 view(opts) do | |
quote do | |
use Phoenix.View, unquote(opts) | |
# Import convenience functions from controllers | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment