Adding an action view function; makes it safer when config has not been set