Added Controller getCurrentAction method.