FIX change action variable source to getViewer

Previously we were using the request to get the action parameter. However for custom URL structures and nested controllers, this won't work and causes template selection to break.