summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-04 18:50:31 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-04 18:50:31 +0200
commitafbdbb0c959affbdb8725eafb8169025a8aede1e (patch)
tree87fec66647ef63d1abc5cae17192f1f10c1559bb /app
parentdccd8b6eaa8b2e98b0245262a8e39df8fb8ae634 (diff)
downloadgitlab-ce-afbdbb0c959affbdb8725eafb8169025a8aede1e.tar.gz
Rspec fixes
Diffstat (limited to 'app')
-rw-r--r--app/views/compare/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/compare/_form.html.haml b/app/views/compare/_form.html.haml
index 7e3a2a0e1f5..0915782dddc 100644
--- a/app/views/compare/_form.html.haml
+++ b/app/views/compare/_form.html.haml
@@ -28,7 +28,7 @@
:javascript
$(function() {
- var availableTags = #{@project.ref_names.to_json};
+ var availableTags = #{@project.repository.ref_names.to_json};
$("#from, #to").autocomplete({
source: availableTags,