diff options
Diffstat (limited to 'lib/rook_web/templates')
| -rw-r--r-- | lib/rook_web/templates/app/entrypoint.html.eex | 1 | ||||
| -rw-r--r-- | lib/rook_web/templates/app/request.html.eex | 2 | ||||
| -rw-r--r-- | lib/rook_web/templates/app/share.html.eex | 2 | ||||
| -rw-r--r-- | lib/rook_web/templates/home/index.html.eex | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/lib/rook_web/templates/app/entrypoint.html.eex b/lib/rook_web/templates/app/entrypoint.html.eex index bc7e84a..7551fdc 100644 --- a/lib/rook_web/templates/app/entrypoint.html.eex +++ b/lib/rook_web/templates/app/entrypoint.html.eex @@ -1,5 +1,4 @@ <link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/#{@entrypoint}.css") %>"/> <script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/#{@entrypoint}.js") %>"></script> -<script>window.token = "<%= @token %>";</script> <div id="app"></div> diff --git a/lib/rook_web/templates/app/request.html.eex b/lib/rook_web/templates/app/request.html.eex index c09a843..b7ff7bd 100644 --- a/lib/rook_web/templates/app/request.html.eex +++ b/lib/rook_web/templates/app/request.html.eex @@ -1 +1 @@ -<%= render_app(@conn, @token, "request") %> +<%= render_app(@conn, "request") %> diff --git a/lib/rook_web/templates/app/share.html.eex b/lib/rook_web/templates/app/share.html.eex index d72b2c4..95b8b08 100644 --- a/lib/rook_web/templates/app/share.html.eex +++ b/lib/rook_web/templates/app/share.html.eex @@ -1 +1 @@ -<%= render_app(@conn, @token, "share") %> +<%= render_app(@conn, "share") %> diff --git a/lib/rook_web/templates/home/index.html.eex b/lib/rook_web/templates/home/index.html.eex index 9152474..0b82f07 100644 --- a/lib/rook_web/templates/home/index.html.eex +++ b/lib/rook_web/templates/home/index.html.eex @@ -1 +1 @@ -<p>Hi! Welcome to Walmart.</p> +<%= link "Share", to: Routes.app_path(RookWeb.Endpoint, :share)%> |
