Assign @ct in before filter