Last active
August 29, 2015 14:17
-
-
Save jeregrine/e42a422b19a0bc76347b to your computer and use it in GitHub Desktop.
Example
This file contains 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 render("show.json", %{data: data}) do | |
%{ | |
id: data.id, | |
name: data.name, | |
title: String.capitalize!(data.name) | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment