Show diffs of deleted docs

This commit is contained in:
James Allen 2014-06-05 13:38:07 +01:00
parent cabaf1ae1a
commit 1e31024bd7

View file

@ -5,7 +5,7 @@ define [
Diff = Backbone.Model.extend
initialize: (attributes, options) ->
@ide = options.ide
@set "doc", @ide.fileTreeManager.getEntity(@get("doc_id"))
@set "doc", @ide.fileTreeManager.getEntity(@get("doc_id"), include_deleted: true)
url: () ->
url = "/project/#{@get("project_id")}/doc/#{@get("doc_id")}/diff"