define index action for both geolocations and scenes controller