This commit is contained in:
Joshua Peek 2016-09-13 16:59:46 -07:00
Родитель 908249ddb5
Коммит 3acc6c858b
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -12,7 +12,7 @@
...Views::Repositories::ListItem::Repository
}
# Cursor is an opaque identifier that lets use fetch items before or
# Cursor is an opaque identifier that lets you fetch items before or
# after this repository in this collection. To fetch the next 10 items,
# we'll want the last item's cursor.
cursor
@ -28,8 +28,8 @@
<% repositories = Views::Repositories::Repositories::RepositoryConnection.new(repositories) %>
<%#
We could enumerate repositories.edges.each { |edge| edge.node }, but each_node
provides a handy enumerator to get each repository.
We could enumerate this list by repositories.edges.each { |edge| edge.node }
but each_node provides a handy enumerator to get each repository.
%>
<% repositories.each_node do |repository| %>
<%= render "repositories/list_item", repository: repository %>