add a barebones privacy policy, will likely need to expand it if the service gets more usage
This commit is contained in:
@@ -10,4 +10,9 @@ defmodule EntenduWeb.PageController do
|
||||
|> clear_session()
|
||||
|> render("index.html")
|
||||
end
|
||||
|
||||
def privacy(conn, _params) do
|
||||
conn
|
||||
|> render("privacy_policy.html")
|
||||
end
|
||||
end
|
||||
|
@@ -35,6 +35,8 @@ defmodule EntenduWeb.Router do
|
||||
post "/just/for", LinkController, :for
|
||||
get "/just/for/you", LinkController, :you_page
|
||||
get "/just/for/you/:id", LinkController, :auth_page
|
||||
|
||||
get "/privacy-policy", PageController, :privacy
|
||||
end
|
||||
|
||||
scope "/auth", EntenduWeb do
|
||||
|
3
lib/entendu_web/templates/page/privacy_policy.html.eex
Normal file
3
lib/entendu_web/templates/page/privacy_policy.html.eex
Normal file
@@ -0,0 +1,3 @@
|
||||
<section>
|
||||
<%= react_component("Components.PrivacyPolicyPage") %>
|
||||
</section>
|
Reference in New Issue
Block a user