Skip to content

Instantly share code, notes, and snippets.

@paulcsmith
Created July 27, 2015 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulcsmith/d0491574c607348259bf to your computer and use it in GitHub Desktop.
Save paulcsmith/d0491574c607348259bf to your computer and use it in GitHub Desktop.
Nice way to automatically render with the correct action name
def render(conn, assigns \\ []), do: render(conn, action_name(conn), assigns)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment