use params instead of project.slug in case project not loaded yet
assigned to @sdarocha
merged
mentioned in commit 34a1e0dd