diff options
Diffstat (limited to 'lib/rook_web/controllers')
| -rw-r--r-- | lib/rook_web/controllers/app_controller.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rook_web/controllers/app_controller.ex b/lib/rook_web/controllers/app_controller.ex index 9e36f3c..f252086 100644 --- a/lib/rook_web/controllers/app_controller.ex +++ b/lib/rook_web/controllers/app_controller.ex @@ -5,7 +5,7 @@ defmodule RookWeb.AppController do render(conn, "share.html") end - def request(conn, _params) do - render(conn, "request.html") + def request(conn, %{"token" => share_token}) do + render(conn, "request.html", share_token: share_token) end end |
