Extract params slice to a variable in pages controller