How to enable route for uploads directory in phoenix framework

Viewed 694

I have implemented file upload in phoenix framework by using these two elixir libraries arc (https://github.com/stavro/arc) and acr_ecto (https://github.com/stavro/arc_ecto),

when i upload a image, it is stored in the following directory

"app_root/uploads/users/avatars/filename.jpg"

Now how do i enable route to access app_root/uploads/users/avatars/filename.jpg file from browser

2 Answers
Related