Changed code to use action controller with variadic template arguments