11870: minor update
authorradhika <radhika@curoverse.com>
Fri, 30 Jun 2017 15:30:05 +0000 (11:30 -0400)
committerradhika <radhika@curoverse.com>
Fri, 30 Jun 2017 15:30:05 +0000 (11:30 -0400)
Arvados-DCO-1.1-Signed-off-by: Radhika Chippada <radhika@curoverse.com>

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 %>