summaryrefslogtreecommitdiff
path: root/app/views/projects/tree.js.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/tree.js.haml')
-rw-r--r--app/views/projects/tree.js.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree.js.haml b/app/views/projects/tree.js.haml
index eb08adb1ddd..ba5d53c16a2 100644
--- a/app/views/projects/tree.js.haml
+++ b/app/views/projects/tree.js.haml
@@ -1,5 +1,5 @@
:plain
$("#tree-holder table").hide("slide", { direction: "left" }, 150, function(){
- $("#tree-holder").html("#{escape_javascript(render(:partial => "tree", :locals => {:repo => @repo, :commit => @commit, :tree => @tree}))}");
+ $("#tree-holder").html("#{escape_javascript(render(partial: "tree", locals: {repo: @repo, commit: @commit, tree: @tree}))}");
$("#tree-holder table").show("slide", { direction: "right" }, 150);
});