diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2015-04-04 17:44:52 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2015-04-04 17:44:52 -0700 |
commit | 05fbf7c01c7d92efc08d603f9970b688a5ec0abe (patch) | |
tree | df7086378d5bcd4049507212383071ba37459666 /app | |
parent | 59218aaef6041b3467996908c70fa50d3a5e49fe (diff) |
Diffstat (limited to 'app')
-rw-r--r-- | app/views/downloads/index.json.jbuilder | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/downloads/index.json.jbuilder b/app/views/downloads/index.json.jbuilder index 9933fd9..09c6faa 100644 --- a/app/views/downloads/index.json.jbuilder +++ b/app/views/downloads/index.json.jbuilder @@ -1,3 +1,4 @@ json.array!(@downloads) do |download| json.extract! download, :id, :name, :filename, :type, :description, :hits + json.href request.base_url + download_path(download.filename) end |