<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="72334" data-post-id="72334">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="juan" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  juan
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="dokuzbir" data-post="11" data-topic="12841">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/d/ed8c4c/48.png" class="avatar"> dokuzbir:</div>
<blockquote>
<p>&lt;%= link “Download”, to: download_path(<span class="mention">@conn</span>, :download, file_path: exfile_url(<span class="mention">@conn</span>, <span class="mention">@user.img</span>) %&gt;</p>
</blockquote>
</aside>
<p>It generates this error</p>
<blockquote>
<p>== Compilation error in file lib/hello_web/views/user_view.ex ==<br>
** (TokenMissingError) lib/hello_web/templates/user/show.html.eex:7: missing terminator: ) (for “(” starting at line 7)<br>
(eex) lib/eex/compiler.ex:45: EEx.Compiler.generate_buffer/4<br>
(phoenix) lib/phoenix/template.ex:378: Phoenix.Template.compile/2<br>
(phoenix) lib/phoenix/template.ex:186: anonymous fn/3 in Phoenix.Template.“MACRO-<strong>before_compile</strong>”/2<br>
(elixir) lib/enum.ex:1899: Enum.“-reduce/3-lists^foldl/2-0-”/3<br>
(phoenix) expanding macro: Phoenix.Template.<strong>before_compile</strong>/1<br>
lib/hello_web/views/user_view.ex:1: HelloWeb.UserView (module)<br>
(elixir) lib/kernel/parallel_compiler.ex:198: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6</p>
</blockquote> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="72334" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/how-do-i-download-files-uploaded-with-exfile/12841/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-72334" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="72334"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="72335" data-post-id="72335">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dokuzbir" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dokuzbir
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>try this<br>
<code>&lt;%= link “Download”, to: download_path(@conn, :download, file_path: exfile_url(@conn, @user.img)) %&gt;</code></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="72335" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/how-do-i-download-files-uploaded-with-exfile/12841/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-72335" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="72335"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="72336" data-post-id="72336">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="juan" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  juan
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="dokuzbir" data-post="13" data-topic="12841">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/d/ed8c4c/48.png" class="avatar"> dokuzbir:</div>
<blockquote>
<p>&lt;%= link “Download”, to: download_path(<span class="mention">@conn</span>, :download, file_path: exfile_url(<span class="mention">@conn</span>, <span class="mention">@user.img</span>)) %&gt;</p>
</blockquote>
</aside>
<p>It generates this new error</p>
<blockquote>
<p>== Compilation error in file lib/hello_web/views/user_view.ex ==<br>
** (SyntaxError) lib/hello_web/templates/user/show.html.eex:7: unexpected token: ““” (column 7, codepoint U+201C)<br>
(eex) lib/eex/compiler.ex:45: EEx.Compiler.generate_buffer/4<br>
(phoenix) lib/phoenix/template.ex:378: Phoenix.Template.compile/2<br>
(phoenix) lib/phoenix/template.ex:186: anonymous fn/3 in Phoenix.Template.“MACRO-<strong>before_compile</strong>”/2<br>
(elixir) lib/enum.ex:1899: Enum.“-reduce/3-lists^foldl/2-0-”/3<br>
(phoenix) expanding macro: Phoenix.Template.<strong>before_compile</strong>/1<br>
lib/hello_web/views/user_view.ex:1: HelloWeb.UserView (module)<br>
(elixir) lib/kernel/parallel_compiler.ex:198: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6</p>
</blockquote> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="72336" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/how-do-i-download-files-uploaded-with-exfile/12841/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-72336" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="72336"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="72337" data-post-id="72337">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dokuzbir" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dokuzbir
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Delete link and add only that. what is output?<br>
<code>&lt;%= exfile_url(@conn, @user.img) %&gt;</code></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="72337" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/how-do-i-download-files-uploaded-with-exfile/12841/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-72337" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="72337"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="72339" data-post-id="72339">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="juan" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  juan
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>In this way it works, generates in text</p>
<blockquote>
<p><a href="http://localhost:4000/attachments/e_z2UosxXgZJdM7LKuO2g7A8qlphArEtOCxtxvZFRyw=/cache/c2b2f68c353594f75da61daddc61d4bb201e24eeb742564a3eed3ab9a3c7/file" rel="noopener nofollow ugc">http://localhost:4000/attachments/e_z2UosxXgZJdM7LKuO2g7A8qlphArEtOCxtxvZFRyw=/cache/c2b2f68c353594f75da61daddc61d4bb201e24eeb742564a3eed3ab9a3c7/file</a></p>
</blockquote> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="72339" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/how-do-i-download-files-uploaded-with-exfile/12841/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-72339" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="72339"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #15"></div>
  </section>
</div>
    <div class="postbit" id="72340" data-post-id="72340">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dokuzbir" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dokuzbir
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>use that<br>
<code>&lt;%= link “Download”, to: download_path(@conn, :download, file_path: exfile_path(@conn, @user.img)) %&gt;</code></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="72340" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/how-do-i-download-files-uploaded-with-exfile/12841/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-72340" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="72340"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #16"></div>
  </section>
</div>
    <div class="postbit" id="72342" data-post-id="72342">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="juan" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  juan
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>It produced error. Then try with <code>&lt;% = link Download, to: download_path (@conn,: download, file_path: exfile_path (@conn, @ user.img))%&gt;</code> and generate this error &gt; == Compilation error in file lib/hello_web/views/user_view.ex ==</p>
<blockquote>
<p>** (CompileError) lib/hello_web/templates/user/show.html.eex:7: undefined function download_path/3<br>
(stdlib) lists.erl:1338: :lists.foreach/2<br>
(stdlib) erl_eval.erl:670: :erl_eval.do_apply/6<br>
(elixir) lib/kernel/parallel_compiler.ex:198: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6</p>
</blockquote> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="72342" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/how-do-i-download-files-uploaded-with-exfile/12841/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-72342" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="72342"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #17"></div>
  </section>
</div>
    <div class="postbit" id="72343" data-post-id="72343">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dokuzbir" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dokuzbir
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>you should create new DownloadController. and add that function to inside controller</p>
<pre><code>def download(conn, %{"file_path" =&gt; file_path})
   conn
    |&gt; put_resp_header("content-disposition", "attachment; filename=\"test-file.jpg\"")
    |&gt; send_resp(200, file_path)
  end
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="72343" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/how-do-i-download-files-uploaded-with-exfile/12841/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-72343" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="72343"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #18"></div>
  </section>
</div>
    <div class="postbit" id="72344" data-post-id="72344">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="juan" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  juan
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="dokuzbir" data-post="19" data-topic="12841">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/d/ed8c4c/48.png" class="avatar"> dokuzbir:</div>
<blockquote>
<p>DownloadController</p>
</blockquote>
</aside>
<p>Compile! but it generates this error already with the server running</p>
<pre><code>[error] #PID&lt;0.484.0&gt; running HelloWeb.Endpoint terminated
Server: 191.232.179.128:4000 (http)
Request: GET /users/3
** (exit) an exception was raised:
    ** (FunctionClauseError) no function clause matching in Exfile.Phoenix.Helpers.exfile_path/2
        (exfile) lib/exfile/phoenix/helpers.ex:42: Exfile.Phoenix.Helpers.exfile_path(%Plug.Conn{adapter: {Plug.Adapters.Cowboy.Conn, :...}, assigns: %{layout: {HelloWeb.LayoutView, "app.html"}, user: %Hello.Accounts.User{__meta__: #Ecto.Schema.Metadata&lt;:loaded, "users"&gt;, id: 3, img: %Exfile.File{backend: %Exfile.Backend{backend_mod: Exfile.Backend.FileSystem, backend_name: "cache", directory: "/home/codes/hello/tmp/cache", hasher: Exfile.Hasher.Random, max_size: -1, meta: %{ttl: :infinity}, postprocessors: [], preprocessors: []}, backend_meta: %{absolute_path: "/home/codes/hello/tmp/cache/c2b2f68c353594f75da61daddc61d4bb201e24eeb742564a3eed3ab9a3c7"}, id: "c2b2f68c353594f75da61daddc61d4bb201e24eeb742564a3eed3ab9a3c7", meta: %{}}, inserted_at: ~N[2018-03-01 14:40:17.696010], name: "a", updated_at: ~N[2018-03-02 13:35:16.654989], username: "a"}}, before_send: [#Function&lt;0.59940076/1 in Plug.CSRFProtection.call/2&gt;, #Function&lt;4.112730735/1 in Phoenix.Controller.fetch_flash/2&gt;, #Function&lt;0.45862765/1 in Plug.Session.before_send/2&gt;, #Function&lt;1.130626273/1 in Plug.Logger.call/2&gt;, #Function&lt;0.832222/1 in Phoenix.LiveReloader.before_send_inject_reloader/2&gt;], body_params: %{}, cookies: %{"_hello_key" =&gt; "SFMyNTY.g3QAAAABbQAAAAtfY3NyZl90b2tlbm0AAAAYY2theDZvc2M3ZlRlZ1N1R0dQeis2Zz09._SB3jsjQpfSmmi8i4tDTGSBs9MpiwuGdwO0WjzM6FT8"}, halted: false, host: "191.232.179.128", method: "GET", owner: #PID&lt;0.484.0&gt;, params: %{"id" =&gt; "3"}, path_info: ["users", "3"], path_params: %{"id" =&gt; "3"}, peer: {{181, 50, 101, 215}, 52604}, port: 4000, private: %{HelloWeb.Router =&gt; {[], %{Exfile.Router =&gt; ["attachments"]}}, :phoenix_action =&gt; :show, :phoenix_controller =&gt; HelloWeb.UserController, :phoenix_endpoint =&gt; HelloWeb.Endpoint, :phoenix_flash =&gt; %{}, :phoenix_format =&gt; "html", :phoenix_layout =&gt; {HelloWeb.LayoutView, :app}, :phoenix_pipelines =&gt; [:browser], :phoenix_router =&gt; HelloWeb.Router, :phoenix_template =&gt; "show.html", :phoenix_view =&gt; HelloWeb.UserView, :plug_session =&gt; %{"_csrf_token" =&gt; "ckax6osc7fTegSuGGPz+6g=="}, :plug_session_fetch =&gt; :done}, query_params: %{}, query_string: "", remote_ip: {181, 50, 101, 215}, req_cookies: %{"_hello_key" =&gt; "SFMyNTY.g3QAAAABbQAAAAtfY3NyZl90b2tlbm0AAAAYY2theDZvc2M3ZlRlZ1N1R0dQeis2Zz09._SB3jsjQpfSmmi8i4tDTGSBs9MpiwuGdwO0WjzM6FT8"}, req_headers: [{"host", "191.232.179.128:4000"}, {"connection", "keep-alive"}, {"cache-control", "max-age=0"}, {"upgrade-insecure-requests", "1"}, {"user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"}, {"accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"}, {"accept-encoding", "gzip, deflate"}, {"accept-language", "es-ES,es;q=0.9,es-MX;q=0.8,en;q=0.7"}, {"cookie", "_hello_key=SFMyNTY.g3QAAAABbQAAAAtfY3NyZl90b2tlbm0AAAAYY2theDZvc2M3ZlRlZ1N1R0dQeis2Zz09._SB3jsjQpfSmmi8i4tDTGSBs9MpiwuGdwO0WjzM6FT8"}], request_path: "/users/3", resp_body: nil, resp_cookies: %{}, resp_headers: [{"cache-control", "max-age=0, private, must-revalidate"}, {"x-request-id", "9ahv5gavppl2dr2u8img475bjm8pmv28"}, {"x-frame-options", "SAMEORIGIN"}, {"x-xss-protection", "1; mode=block"}, {"x-content-type-options", "nosniff"}], scheme: :http, script_name: [], secret_key_base: "EtRm+bNvFVjfnA1qXbVp+CMaa0fomTvW3QNElmbVNKGTH7yNrlfhQFjBQLgE1ynr", state: :unset, status: nil}, %Exfile.File{backend: %Exfile.Backend{backend_mod: Exfile.Backend.FileSystem, backend_name: "cache", directory: "/home/codes/hello/tmp/cache", hasher: Exfile.Hasher.Random, max_size: -1, meta: %{ttl: :infinity}, postprocessors: [], preprocessors: []}, backend_meta: %{absolute_path: "/home/codes/hello/tmp/cache/c2b2f68c353594f75da61daddc61d4bb201e24eeb742564a3eed3ab9a3c7"}, id: "c2b2f68c353594f75da61daddc61d4bb201e24eeb742564a3eed3ab9a3c7", meta: %{}})
        (hello) lib/hello_web/templates/user/show.html.eex:7: HelloWeb.UserView."show.html"/1
        (hello) lib/hello_web/templates/layout/app.html.eex:29: HelloWeb.LayoutView."app.html"/1
        (phoenix) lib/phoenix/view.ex:332: Phoenix.View.render_to_iodata/3
        (phoenix) lib/phoenix/controller.ex:740: Phoenix.Controller.do_render/4
        (hello) lib/hello_web/controllers/user_controller.ex:1: HelloWeb.UserController.action/2
        (hello) lib/hello_web/controllers/user_controller.ex:1: HelloWeb.UserController.phoenix_controller_pipeline/2
        (hello) lib/hello_web/endpoint.ex:1: HelloWeb.Endpoint.instrument/4
        (phoenix) lib/phoenix/router.ex:278: Phoenix.Router.__call__/1
        (hello) lib/hello_web/endpoint.ex:1: HelloWeb.Endpoint.plug_builder_call/2
        (hello) lib/plug/debugger.ex:99: HelloWeb.Endpoint."call (overridable 3)"/2
        (hello) lib/hello_web/endpoint.ex:1: HelloWeb.Endpoint.call/2
        (plug) lib/plug/adapters/cowboy/handler.ex:15: Plug.Adapters.Cowboy.Handler.upgrade/4
        (cowboy) /home/codes/hello/deps/cowboy/src/cowboy_protocol.erl:442: :cowboy_protocol.execute/4
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="72344" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/how-do-i-download-files-uploaded-with-exfile/12841/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-72344" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="72344"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #19"></div>
  </section>
</div>
    <div class="postbit" id="72345" data-post-id="72345">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dokuzbir" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dokuzbir
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>i learnt ex_file <img src="https://forum.elixirforum.com/images/emoji/apple/smile.png?v=15" title=":smile:" class="emoji" alt=":smile:" loading="lazy" width="20" height="20">. Looks like exfile_path doesnt take <span class="mention">@conn</span> use that. You should learn how to debug a elixir app.</p>
<p><code>&lt;%= link “Download”, to: download_path(@conn, :download, file_path: exfile_path(@user.img)) %&gt;</code></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="72345" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/how-do-i-download-files-uploaded-with-exfile/12841/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-72345" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="72345"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #20"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/12841/load_more?page=3">Load more posts (14 remaining)</a>
</div></template></turbo-stream>