Passing Controller object to the getDeccorator method instead of string