How seaside town's miniature railway will be restored