Created
July 13, 2014 05:54
-
-
Save nhu313/d9243f2eacf724077c3e to your computer and use it in GitHub Desktop.
Feeder controller
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
defmodule FeederWeb.Controllers.Pages do | |
use Phoenix.Controller | |
def hello(conn, _params) do | |
render conn, "hello" | |
end | |
end |
Got this error
(Phoenix.Template.UndefinedError) No such template "hello.html"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Controller