Fixed 404 Not found error on artifacts

Found out that *path in routes doesn't match filename extensions .. added optional (.:format) to match and pass to method