Skip to content

Instantly share code, notes, and snippets.

@joaomilho
Created June 16, 2014 21:34
Show Gist options
  • Save joaomilho/45552423e04e4ae000e5 to your computer and use it in GitHub Desktop.
Save joaomilho/45552423e04e4ae000e5 to your computer and use it in GitHub Desktop.
–module(petster_pet_controller, [Request]).
–compile(export_all).
index('GET', []) –>
Pets = boss_db:find(pet, []),
{ok, [{pets, Pets}]}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment