Last active
September 11, 2019 21:09
-
-
Save paveltyk/2792ea37b3a1b26a6608c0d340c14c86 to your computer and use it in GitHub Desktop.
Phoenix + React + Heroku + Docker https://medium.com/@paveltyk/phoenix-react-heroku-docker-44d5c4a83ab1
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 HealthyskinWeb.SubscriptionController do | |
use HealthyskinWeb, :controller | |
def create(conn, %{"email" => email}) do | |
IO.inspect(email, label: "Email submitted") | |
send_resp(conn, 200, "") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment