11870: minor update
[arvados.git] / apps / workbench / app / views / repositories / _show_help.html.erb
index afc7e5484f288cb3005ae39dc133f367d99bf18b..42ec96ff7eb90fb3eae5acced930a622be9fe67a 100644 (file)
@@ -1,7 +1,7 @@
 <%
     filters = @filters + [["owner_uuid", "=", current_user.uuid]]
     example = Repository.all.order("name ASC").filter(filters).limit(1).results.first
-    example = Repository.all.order("name ASC").results.limit(1).first if !example
+    example = Repository.all.order("name ASC").limit(1).results.first if !example
 %>
 
 <% if example %>