Skip to content

Instantly share code, notes, and snippets.

@cjbell
Created January 6, 2016 19:39
Show Gist options
  • Save cjbell/1826e5b4ef38b4da12d1 to your computer and use it in GitHub Desktop.
Save cjbell/1826e5b4ef38b4da12d1 to your computer and use it in GitHub Desktop.
defmodule MyApp.PostController do
use MyApp.Web, :controller
import MyApp.Controllers.Helpers # this will bring in all of the helper methods into this controller
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment