elixir-web / weber

[WiP] Web framework for Elixir inspired by Rails [#WeberMVC at freenode]
http://elixir-web.github.io/weber/
MIT License
372 stars 33 forks source link

Fix 404 on static assets (Elixir 0.13.1) #189

Closed adamkittelson closed 10 years ago

adamkittelson commented 10 years ago

abs_filenames is a list of path names which are char lists, but Path.basename/1 with a char list argument is apparently returning a binary in Elixir 0.13.1, this patch changes filename to a binary so the filter can find matching filenames