fixes per @duczOr request

This commit is contained in:
zmagod 2018-06-18 14:00:49 +02:00
parent 3d7591100a
commit fbcc788597

View file

@ -200,11 +200,10 @@ class TeamExporter
end
def repository(repository)
columns = repository.repository_columns
{
repository: repository,
repository_columns: repository.repository_columns.map do |c|
repository_columns(c)
repository_column(c)
end,
repository_rows: repository.repository_rows.map do |r|
repository_row(r)
@ -230,7 +229,7 @@ class TeamExporter
}
end
def repository_columns(column)
def repository_column(column)
{
repository_column: column,
repository_list_items: column.repository_list_items